findLast

inline fun <T> Sequence<T>.findLast(predicate: (T) -> Boolean): T?(source)

Returns the last element matching the given predicate, or null if no such element was found.

The operation is terminal.

Since Kotlin

1.0

Samples