A set of utility methods for working with the Lua table extern.

Static methods

@:has_untypedstaticcopy<A, B> (table1:Table<A, B>):Table<A, B>

staticipairsConcat<T> (table1:Table<Int, T>, table2:Table<Int, T>):Table<Int, T>

@:has_untypedstaticipairsEach<T> (table:Table<Dynamic, T>, func:Int ‑> T ‑> Void):Void

@:has_untypedstaticipairsExist<T> (table:Table<Int, T>, func:Int ‑> T ‑> Bool):Void

@:has_untypedstaticipairsFold<A, B> (table:Table<Int, A>, func:Int ‑> A ‑> B ‑> B, seed:B):B

@:has_untypedstaticipairsMap<A, B> (table:Table<Dynamic, A>, func:Int ‑> A ‑> B):Table<Int, B>

@:has_untypedstaticpairsEach<A, B> (table:Table<A, B>, func:A ‑> B ‑> Void):Void

@:has_untypedstaticpairsExist<A, B> (table:Table<A, B>, func:A ‑> B ‑> Bool):Void

@:has_untypedstaticpairsFold<A, B, C> (table:Table<A, B>, func:A ‑> B ‑> C ‑> C, seed:C):C

@:has_untypedstaticpairsMap<A, B, C> (table:Table<A, B>, func:A ‑> B ‑> C ‑> C):Table<A, C>

staticpairsMerge<A, B> (table1:Table<A, B>, table2:Table<A, B>):Table<A, B>