ID function that takes in a value and returns the same value as output.
Takes in any number of values that can be piped into a function. Returns a pipeline that can be used recursively to pipe to other functions.
Example:
import {pipe} from 'standard-data-structures' pipe(1, 2).into((A, B) => A + B).into(A => [A, A * A]).drain // [3, 9]
Generated using TypeDoc
ID function that takes in a value and returns the same value as output.