pipe

v1.0.0arrow_drop_down
v1.0.0
v0.0.1
STATUS
Passing
DOWNLOADS
27
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
590 B
compose functions from left to right
2 contributors
Install pipe as a package?
Copied
npm i @bit/bit.utils.function.pipe
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
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 exist

Pass
Help and resources