UNPKG

rubico

Version:

[a]synchronous functional programming

12 lines (10 loc) 294 B
/** * @name reducerAllSync * * @synopsis * ```coffeescript [specscript] * reducerAllSync(predicate any=> boolean, result boolean, element any) -> boolean * ``` */ const reducerAllSync = (predicate, result, element) => result ? predicate(element) : false module.exports = reducerAllSync