package js.lib
Available on js
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
.
staticinlineiterator<T>(jsIterator:Iterator<T>):HaxeIterator<T>
inlinenew(jsIterator:Iterator<T>)
inlinehasNext():Bool
inlinenext():T
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/HaxeIterator.html