@unction/append
v6.13.0
Published
Takes a value and puts it at the end of the given list
Downloads
63
Readme
@unction/append
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.