1 contributor
Like
Install remove as a package?
Copied
npm i @bit/justin-capalbo.ramda.remove
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
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.
No lists have been harmed in the application of this function.
Example
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.