Home > @lndsld/fp > flow
Signature:
declare function flow<A extends Array<unknown>, B, C, D, E, F>(ab: (...a: A) => B, bc: (b: B) => C, cd: (c: C) => D, de: (d: D) => E, ef: (d: E) => F): (...a: A) => F;
Parameter | Type | Description |
---|---|---|
ab | (…a: A) => B | |
bc | (b: B) => C | |
cd | (c: C) => D | |
de | (d: D) => E | |
ef | (d: E) => F |
Returns:
(…a: A) => F