Closed nghiepdev closed 2 years ago
Creates a data-last pipe function. First function must be always annotated. Other functions are automatically inferred.
R.createPipe(op1, op2, op3)(data)
createPipe( (x: number) => x * 2, (x) => x * 3 )(1) // => 6
@nghiepit createPipe is named flow in ts-belt and it's here → https://mobily.github.io/ts-belt/api/pipe-flow#flow :)
createPipe
flow
ts-belt
Creates a data-last pipe function. First function must be always annotated. Other functions are automatically inferred.
R.createPipe(op1, op2, op3)(data)