any
v0.9.6arrow_drop_downv0.9.6
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
1 KB
Returns `true` if at least one of the elements of the list match the predicate,
`false` otherwise.
1 contributor
Like
Install any as a package?
Copied
npm i @bit/justin-capalbo.ramda.any
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
any (
fn:
Function
,list:
) : Array
Boolean
Returns true
if at least one of the elements of the list match the predicate,
false
otherwise.
Dispatches to the any
method of the second argument, if present.
Acts as a transducer if a transformer is given in list position.
Example
Arguments
fn:
Function
The predicate function.
list:
Array
The array to consider.
Returns
Boolean
`true` if the predicate is satisfied by at least one element, `false` otherwise.