lndsld

Home > @lndsld/fp > pipe

pipe() function

Signature:

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

Parameters

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

Returns:

D