firstOrNull
Returns the first element, or null
if the sequence is empty.
The operation is terminal.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns the first element, or null
if the sequence is empty.
The operation is terminal.