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>

staticinlinefromArray<T>(arr:Array<T>):Table<Int, T>

@:has_untypedstaticinlinefromDynamic<A, B>(dyn:Dynamic):Table<A, B>

@:has_untypedstaticinlinefromMap<A, B>(map:Map<A, B>):Table<A, B>

staticinsert<B>(table:Table<Int, B>, pos:Int, value:B):Void

staticinsert<B>(table:Table<Int, B>, value:B):Void

staticremove<B>(table:Table<Int, B>, ?pos:Int):Void

staticremove<B>(table:Table<Int, B>):Void

staticsort<A, B>(table:Table<A, B>, ?order:(A, A) ‑> Bool):Void

staticinlinetoArray<T>(tbl:Table<Int, T>, ?length:Int):Array<T>

staticinlinetoMap<A, B>(tbl:Table<A, B>):Map<A, B>

staticinlinetoObject<T>(t:Table<String, T>):Dynamic<T>

Copies the table argument and converts it to an Object.