hasNext

abstract operator fun hasNext(): Boolean(source)

Checks whether another element is available without advancing the iterator.

Return

true if another element remains.