lastIndexOf

expect abstract fun lastIndexOf(element: @UnsafeVariance E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.0
actual abstract fun lastIndexOf(element: E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.1
actual abstract fun lastIndexOf(element: E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.0
actual abstract fun lastIndexOf(element: E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.3
actual abstract fun lastIndexOf(element: E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.8
actual abstract fun lastIndexOf(element: E): Int(source)

Returns the index of the last occurrence of the specified element in the list, or -1 if the specified element is not contained in the list.

Since Kotlin

1.8