ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
24 lines (21 loc) • 445 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _ramda = require("ramda");
/**
* Applies composition by a list of functions.
*
* @func
* @category Function
*
* @example
*
* R_.applyCompose([multiply(2), add(1)])(3) // 8
*
* @sig [(a -> b)] -> a -> b
*/
var applyCompose = (0, _ramda.apply)(_ramda.compose);
var _default = applyCompose;
exports.default = _default;