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

utils/drop
v1.0.0
1.0.0
MIT
PUBLIC
0
Build: none
BuildNone
Returns all but the first `n` elements of the given list, string, or

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

drop (n:Number, list:*) : *

Returns all but the first n elements of the given list, string, or transducer/transformer (or object with a drop method).

Dispatches to the drop method of the second argument, if present.

Example

R.drop(1, ['foo', 'bar', 'baz']); //=> ['bar', 'baz']
     R.drop(2, ['foo', 'bar', 'baz']); //=> ['baz']
     R.drop(3, ['foo', 'bar', 'baz']); //=> []
     R.drop(4, ['foo', 'bar', 'baz']); //=> []
     R.drop(3, 'ramda');               //=> 'da'

Arguments

n: Number

list: *

Returns

*

A copy of list without the first `n` elements