UNPKG

@prelude/function

Version:

Function module.

13 lines 340 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** @returns boolean logic "and" from provided predicates. */ const and = (...fs) => (value) => { for (let f of fs) { if (!f(value)) { return false; } } return true; }; exports.default = and; //# sourceMappingURL=and.js.map