Share your code. Components are building blocks, you are the architect.

utils/append
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns a new list containing the contents of the given list, followed by

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/append in your project
npm i @bit/bit.ramda.utils.append
Copied

append (el:*, list:Array) : Array

Returns a new list containing the contents of the given list, followed by the given element.

Example

R.append('tests', ['write', 'more']); //=> ['write', 'more', 'tests']
     R.append('tests', []); //=> ['tests']
     R.append(['tests'], ['write', 'more']); //=> ['write', 'more', ['tests']]

Arguments

el: *

The element to add to the end of the new list.

list: Array

The list of elements to add a new item to. list.

Returns

Array

A new list containing the elements of the old list followed by `el`.