funcom
Version:
Functional composition helpers
17 lines (15 loc) • 365 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.all = all;
function all() {
for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
fns[_key] = arguments[_key];
}
return function (value) {
return fns.map(function (fn) {
return fn(value);
});
};
}
//# sourceMappingURL=all.js.map