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

utils/tail
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns all but the first element of the given list or string (or object

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/tail in your project
npm i @bit/bit.ramda.utils.tail
Copied

tail (list:*) : *

Returns all but the first element of the given list or string (or object with a tail method).

Dispatches to the slice method of the first argument, if present.

Example

R.tail([1, 2, 3]);  //=> [2, 3]
     R.tail([1, 2]);     //=> [2]
     R.tail([1]);        //=> []
     R.tail([]);         //=> []

     R.tail('abc');  //=> 'bc'
     R.tail('ab');   //=> 'b'
     R.tail('a');    //=> ''
     R.tail('');     //=> ''

Argument

list: *

Returns

*