Releases: EvandroLG/Hash.lua
Releases · EvandroLG/Hash.lua
Hash.lua v1.1.2
Hash.lua v1.1.1
What's new?
Hash.lua is a library with useful methods to handle Lua's table when it's working like a Hashtable.
-
Added new methods:
-
Hash.
omit(object:table, keys_or_callback:table|function):table
Returns a copy of the object passed by parameter omitting the keys decided in the second parameter. -
Hash.
find(object:table, callback:function):any
Returns the value of the first item that satisfies the provided testing function. -
Hash.
invert(object:table):table
Creates a new table composed of the inverted keys and values of the table passed by parameter. -
Hash.
is_cyclic(object:table):boolean
Checks if table has circular references
-
-
Created a Doc page (https://evandrolg.github.io/Hash.lua/)