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

function/pipe
v1.0.0
1.0.0
0.0.1
MIT
PUBLIC
1
1     DEPENDENCIES
Build: pass
BuildPass
Build Status: pass
compose functions from left to right
bit
Contributors
Gravatar for undefinedGravatar for undefined
1

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

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

pipe (functions:Array<function>) : function

compose functions from left to right

Example

pipe(func1, func2, func3)(val) === func3(func2(func3(val)))

Argument

functions: Array<function>

Returns

function

Test Summary


pipe the component should existPass