Skip to content

Array.lua v1.3.6

Latest
Compare
Choose a tag to compare
@EvandroLG EvandroLG released this 18 Jan 18:17
· 3 commits to master since this release

What's new?

  • Added two new methods:
    • array.key_by(obj:table, callback:function):table

      Creates a new table composed of keys generated from the results of running each element of the given table through the given callback.

    • array.flat_map(obj:table, callback: function):table

      Returns a new array-like table by applying a given callback to each element of the table, and then flattening the result by one level.

Full Changelog: v1.3.5...v1.3.6