first
Returns first element.
Since Kotlin
1.0Throws
if the sequence is empty.
The operation is terminal.
Returns the first element matching the given predicate.
Since Kotlin
1.0Throws
if no such element is found.
The operation is terminal.
Returns first element.
if the sequence is empty.
The operation is terminal.
Returns the first element matching the given predicate.
if no such element is found.
The operation is terminal.
Thanks for your feedback!