nextIndex
Returns the index of the element that would be returned by a subsequent call to next.
Returns collection size if the iteration is at the end 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 next.
Returns collection size if the iteration is at the end of the collection.