next

operator override fun next(): Boolean(source)

Returns the next element in the iteration.

Since Kotlin

1.0

Throws

if the iteration has no next element.