lastIndexOf

abstract fun lastIndexOf(element: T): Int(source)

Returns the index of the last element equal to element.

Return

the last matching index, or -1 when no match exists.

Parameters

element

value to search for.