lastIndexOf

fun <T> Iterable<T>.lastIndexOf(element: T): Int(source)

Returns the index of the last equal element, or -1 when no element matches.