Skip to content

Tags: Overglazed/array.lua

Tags

v1.2.6

Toggle v1.2.6's commit message
update readme

v1.2.5

Toggle v1.2.5's commit message
- array.flat(object:table):table

This method returns a new table with all sub-array elements concatenated
into it recursively up.

- array.fill(value, [start], finish):table
Creates a table filling all the elements from a start index (default
one) to and end index with a default value passed by parameter.

v1.2.4

Toggle v1.2.4's commit message
- improved performace of array.uniq

v1.2.3

Toggle v1.2.3's commit message
- update concat logic - now it's returning a new table instead of cha…

…nges the previous table

v1.2.2

Toggle v1.2.2's commit message
Add the following methods:

- array.some(object:table, callback:function):boolean
Tests whether at least one element in the table passes the test implemented by the callback

- array.every(object:table, callback:function):boolean
Tests whether all elements in the table passes the test implemented by the callback

- array.zip(object:table, object:table):table
Returns a table of the two supplied by pairing up equally-positioned elements from both tables

- array.shallowCopy(object:table):table
Returns a shallow copy of the table passed as parameter

- array.deepCopy(object:table):table
Returns a deep copy of the table passed as parameter

v1.2.1

Toggle v1.2.1's commit message
- add validation by array in all methods

v1.2.0

Toggle v1.2.0's commit message
update rockspec

v1.0.1

Toggle v1.0.1's commit message
add memo parameter on reduce method

v1.0.0

Toggle v1.0.0's commit message
first version