@unction/prepend
v6.13.0
Published
Takes a value and puts it at the beginning of the given list
Downloads
58
Readme
@unction/prepend
A => Array<A | B> | string => Array<A | B> | string
Takes a value and puts it at the beginning of the given list.
prepend(4)([5]) // => [4, 5]
prepend("c")("ab") // => "cab"