take
v0.9.6arrow_drop_downv0.9.6
STATUS
Passing
DOWNLOADS
5
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
1 KB
Returns the first `n` elements of the given list, string, or
transducer/transformer (or object with a `take` method).
1 contributor
Like
Install take as a package?
Copied
npm i @bit/justin-capalbo.ramda.take
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
take (
n:
Number
,list:
) : *
*
Returns the first n
elements of the given list, string, or
transducer/transformer (or object with a take
method).
Dispatches to the take
method of the second argument, if present.
Example
Arguments
n:
Number
list:
*
Returns
*