lndsld

Home > @lndsld/fp > pipe

pipe() function

Signature:

declare function pipe<A, B, C, D, E, F>(a: A, ab: (a: A) => B, bc: (b: B) => C, cd: (c: C) => D, de: (c: D) => E, ef: (e: E) => F): E;

Parameters

Parameter Type Description
a A  
ab (a: A) => B  
bc (b: B) => C  
cd (c: C) => D  
de (c: D) => E  
ef (e: E) => F  

Returns:

E