IteratorLikeIterable

Drives a script iterator from Kotlin: next() until done, and return() on close if the iterator has one. Close it when done, or hand it to use.

Constructors

Link copied to clipboard
constructor(cx: Context, scope: Scriptable, target: Any?)

Types

Link copied to clipboard
inner class Itr : Iterator<Any?>

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open operator override fun iterator(): IteratorLikeIterable.Itr