Share your code. Components are building blocks, you are the architect.

utils/juxt
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
juxt applies a list of functions to a list of values.

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/juxt in your project
npm i @bit/bit.ramda.utils.juxt
Copied

juxt (fns:Array) : Function

juxt applies a list of functions to a list of values.

Example

var getRange = R.juxt([Math.min, Math.max]);
     getRange(3, 4, 9, -3); //=> [-3, 9]

Argument

fns: Array

An array of functions

Returns

Function

A function that returns a list of values after applying each of the original `fns` to its parameters.