@unction/append

Takes a value and puts it at the end of the given list

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
06May 29, 2021Aug 7, 2017Minified + gzip package size for @unction/append in KB

Readme

@unction/append

Tests Stability Dependencies

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

Takes a value and puts it at the end of the given list.

append(4)([5]) // => [5, 4]
append("c")("ab") // => "abc"

NOTE: While there is a type annotation in the README, this function cannot have type annotations due to a bug in flow.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.