findLast

Common
JVM
JS
Native
1.0
inline fun <T> Sequence<T>.findLast(
    predicate: (T) -> Boolean
): T?

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

The operation is terminal.