@unction/mergeallleft
TypeScript icon, indicating that this package has built-in type declarations

10.13.0 • Public • Published

@unction/mergeAllLeft

Tests Stability Dependencies

Array<Array | Set | Record<string | number | symbol, B> | Map<B, A> | string> => Array | Set | Record<string | number | symbol, B> | Map<B, A> | string

Merges a list of enumerables (of the same type) into a single enumerable.

mergeAllLeft([["0"], ["1"], ["2"]]) // ["2", "1", "0"]
mergeAllLeft([{aaa: "aaa"}, {bbb: "bbb"}, {ccc: "ccc"}]) // {aaa: "aaa", bbb: "bbb", ccc: "ccc",}

Readme

Keywords

Package Sidebar

Install

npm i @unction/mergeallleft

Weekly Downloads

0

Version

10.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

17.5 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene