UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

24 lines (21 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ramda = require("ramda"); /** * Applies pipe by to a list of functions. * * @func * @category Function * * @example * * R_.applyPipe([multiply(2), add(1)])(3) // 7 * * @sig [(a -> b)] -> a -> b */ var applyPipe = (0, _ramda.apply)(_ramda.pipe); var _default = applyPipe; exports.default = _default;