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

inline iterator ():HaxeIterator<T>

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

inline toHaxeIterable ():HaxeIterable<T>

Return Haxe Iterable object wrapping this native iterable.

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