<@U0AAQKT9Q> commented on <@U5HT6HNF2>’s file <htt...
# getting-started
u
@ilya.gorbunov commented on @tulio’s file https://kotlinlang.slack.com/files/U5HT6HNF2/F8Y7C9FJB/-.kt:
elementAtOrNull
is for `Iterable`/`Sequence` and
getOrNull
is for indexable containers, like
List
,
Array
,
CharSequence
. However
List
is also
Iterable
and there's
List.elementAtOrNull
extension, which serves as a static specialization for
List
.