lastIndex

fun <T> Collection<T>.lastIndex(predicate: (T) -> Boolean): Int?