Skip to content

Array.lua v1.2.5

Compare
Choose a tag to compare
@EvandroLG EvandroLG released this 30 Jun 20:05
· 87 commits to master since this release

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.