previousIndex
Returns the index of the element that would be returned by a subsequent call to previous.
Returns -1 if the iteration is at the beginning of the collection.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns the index of the element that would be returned by a subsequent call to previous.
Returns -1 if the iteration is at the beginning of the collection.