Skip to main content
Module

x/rambda/src/anyPass.js

Faster and smaller alternative to Ramda
Latest
File
export function anyPass(predicates){ return (...input) => { let counter = 0 while (counter < predicates.length){ if (predicates[ counter ](...input)){ return true } counter++ }
return false }}