Creates a flow of data processors (up to 5 are supported).
The flow is encapsulated in a function that accepts an input value an returns an output.
constp = flow( (value:string) =>value.toUpperCase(), // Convert to uppercase (value:string) =>value.at(0) === 'A') // If first letter is an A, return true ); p('apple'); // True
Each processing function is expected to take in one input value and return one value.
Creates a flow of data processors (up to 5 are supported). The flow is encapsulated in a function that accepts an input value an returns an output.
Each processing function is expected to take in one input value and return one value.
Param: processors
Returns