lndsld

Home > @lndsld/fp > pipe

pipe() function

Signature:

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

Parameters

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

Returns:

E