LyTable - Ly Framework - Gamely

Add some helper functions to your lua tables.
To access it from every script using Ly.Table LyFramework with properly setupped LyRequire is needed.
After installing you need to add it to LyFramework subfolder lib see LyRequire Documentation.

Create() : constructor that injects LyTable api to your tables.

Convert(t) : converts normal tables to LyTables

GetKeys(t,tResult) : add all keys as array appended to tResult if provided or create a new plain lua array if tResult not provided.

GetValues(t,tResult) : add all values as array appended to tResult if provided or create a new plain lua array if tResult not provided.

GetKeysAndValues(t , tKeyRes, tValRes) Get key and values appended to tKeyRes and tValRes arrays or creates new arrays if one or both of these arguments are not set.

Extend(t, …) Appends the hash part of any provided table to your table skipping keys just present in your table.

ExtendOver(t, …) Appends the hash part of any provided table to your table overwriting keys just present in your table.