UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

16 lines (15 loc) 313 B
import { apply, compose } from '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 = /*#__PURE__*/apply(compose); export default applyCompose;