W3cubDocs

/Haxe JavaScript

Iterator<T>

package js.lib

Available on js

Native JavaScript iterator structure. To enable haxe for-in iteration, use js.lib.HaxeIterator, for example for (v in new js.lib.HaxeIterator(jsIterator)) or add using js.lib.HaxeIterator; to your module

See Iteration Protocols

Fields

next():IteratorStep<T>

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/Iterator.html