first
Returns first element.
Since Kotlin
1.0Throws
if the array is empty.
Returns the first element matching the given predicate.
Since Kotlin
1.0Throws
if no such element is found.
Returns first element.
Since Kotlin
1.0Throws
if the collection is empty.
Returns first element.
Since Kotlin
1.0Throws
if the list is empty.