Buy me a coffee
Kotlin
›
List
›
first
←
isEmpty
first
List
last
→
Returns the first element.
Syntax
list.first() / list.firstOrNull()