1 contributor
Like
Install slice as a package?
Copied
npm i @bit/justin-capalbo.ramda.slice
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
slice (
fromIndex:
Number
,toIndex:
Number
,list:
) : *
*
Returns the elements of the given list or string (or object with a slice
method) from fromIndex
(inclusive) to toIndex
(exclusive).
Dispatches to the slice
method of the third argument, if present.
Example
Arguments
fromIndex:
Number
The start index (inclusive).
toIndex:
Number
The end index (exclusive).
list:
*
Returns
*