W3cubDocs

/Haxe Python

NativeIterable<T>(NativeIterableRaw<T>)

package python

from NativeIterableRaw<T> to NativeIterableRaw<T>,

Available on python

This type represents native Python iterables (objects that implement __iter__() method). It supports Haxe iteration and conversion to Iterable by creating wrapper objects.

Methods

inlineiterator():HaxeIterator<T>

Return Haxe Iterator object by wrapping this.__iter__() native iterator.

inlinetoHaxeIterable():HaxeIterable<T>

Return Haxe Iterable object wrapping this native iterable.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/NativeIterable.html