nextIndex

abstract fun nextIndex(): UInt(source)

Returns index of the next element if it's present or throws NoFollowingElementInIteratorException if there is no next element.

Return

The index of the next element.