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