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

utils/remove
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
1     DEPENDENCIES
Build: fail
BuildFail
Build Status: fail
Removes the sub-list of `list` starting at index `start` and containing

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

remove (start:Number, count:Number, list:Array) : Array

Removes the sub-list of list starting at index start and containing count elements. Note that this is not destructive: it returns a copy of the list with the changes. <small>No lists have been harmed in the application of this function.</small>

Example

R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]

Arguments

start: Number

The position to start removing elements

count: Number

The number of elements to remove

list: Array

The list to remove from

Returns

Array

A new Array with `count` elements from `start` removed.