hasNext

open fun hasNext(): Boolean

Check if the iterator has a next element.

Return

Whether the iterator has a next element.