DeepCopykeeps cycles and shared references. Metatables are not copied.Mergereturns a new table and changes neither argument. Maps merge deeply, arrays fromoverridereplace arrays inbase.Countcounts every key, not only the array part.KeysandValueshave no defined order for maps.Valueskeeps the order of arrays.Map(tbl, fn(value, key))keeps the keys.Filter(array, fn(value, index))keeps the order.Find(tbl, fn(value, key))searches arrays in order first, then other keys.Equalscompares deeply and ignores metatables.Freezereturns a read-only view, nested tables included. Writes raise.ipairs,pairsand#work.
UgLib.Table
Copy, merge, search and freeze tables.
Shared Runs in your resource.