HaxeIterator wraps a JavaScript native iterator object to enable for-in iteration in haxe. It can be used directly: new HaxeIterator(jsIterator) or via using: using HaxeIterator.

Static methods

staticinlineiterator<T>(jsIterator:Iterator<T>):HaxeIterator<T>

Constructor

inlinenew(jsIterator:Iterator<T>)

Methods

inlinehasNext():Bool

inlinenext():T