next

open operator override fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.0

Throws

if the iteration has no next element.