firstOrNull
fun <T> Sequence<T>.firstOrNull(): T?Returns the first element, or null if the sequence is empty.
The operation is terminal.
fun <T> Sequence<T>.firstOrNull(): T?Returns the first element, or null if the sequence is empty.
The operation is terminal.