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