This library provides generic functions for table manipulation.
Static methods
staticconcat<A, B>(table:Table<A, B>, ?sep:String, ?i:Int, ?j:Int):String
staticconcat<A, B>(table:Table<A, B>):Void
staticcreate<A, B>(?arr:Array<B>, ?hsh:Dynamic):Table<A, B>
Generate an inline lua table declaration from an array literal and/or an object literal argument.
staticinlinefromArray<T>(arr:Array<T>):Table<Int, T>
Convert the array arr into a lua table with lua-style indexing.
Methods
inlineiterator():Iterator<B>
Returns an iterator over the values in the table.
Enables for (v in table) syntax.
inlinekeyValueIterator():KeyValueIterator<A, B>
Returns an iterator over the key-value pairs in the table.
Enables for (k => v in table) syntax.