kotlin-stdlib / kotlin.collections / Iterator / hasNext hasNext Common JVM JS Native 1.0 abstract operator fun hasNext(): Boolean(Common source) (Native source) Returns true if the iteration has more elements.