previousIndex

abstract fun previousIndex(): Int(source)

Returns the index of the element that would be returned by a subsequent call to previous.

Since Kotlin

1.1
abstract fun previousIndex(): Int(source)

Returns the index of the element that would be returned by a subsequent call to previous.

Since Kotlin

1.0