hasNext

abstract operator fun hasNext(): Boolean(source)

Returns true if the iteration has more elements.

Since Kotlin

1.0