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

6.13.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @unction/append

Weekly Downloads

40

Version

6.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

19 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene