singleOrNull
Returns single element, or null
if the sequence is empty or has more than one element.
The operation is terminal.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns single element, or null
if the sequence is empty or has more than one element.
The operation is terminal.