Array.lua v1.2.5
A small library with useful methods to handle Lua's table when it's working like an Array.
What's new from Array.lua v1.2.4?
Added two more methods in the core of array.lua
:
-
array.
flat(object:table):table
Creates a new table with the sub-table elements concatenated into it -
array.
fill(value:*, [start:number], end:number):table
Creates a table filling all the elements from a start index (default one) to an end index with a default value passed by parameter.