1 contributor
Like
Install all-pass as a package?
Copied
npm i @bit/justin-capalbo.ramda.all-pass
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
allPass (
predicates:
) : Array
Function
Takes a list of predicates and returns a predicate that returns true for a given list of arguments if every one of the provided predicates is satisfied by those arguments.
The function returned is a curried function whose arity matches that of the highest-arity predicate.
Example
Argument
predicates:
Array
An array of predicates to check
Returns
Function
The combined predicate