- pipe<A, R>(fn1): typeof fn1
Returns typeof fn1
- pipe<A, B, R>(fn1, fn2): ((...a: A) => R)
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, R>(fn1, fn2, fn3): ((...a: A) => R)
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, R>(fn1, fn2, fn3, fn4): ((...a: A) => R)
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, E, R>(fn1, fn2, fn3, fn4, fn5): ((...a: A) => R)
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => E)
- fn5: ((x: E) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, E, F, R>(fn1, fn2, fn3, fn4, fn5, fn6): ((...a: A) => R)
Type Parameters
- A extends unknown[]
- B
- C
- D
- E
- F
- R
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => E)
- fn5: ((x: E) => F)
- fn6: ((x: F) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, E, F, G, R>(fn1, fn2, fn3, fn4, fn5, fn6, fn7): ((...a: A) => R)
Type Parameters
- A extends unknown[]
- B
- C
- D
- E
- F
- G
- R
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => E)
- fn5: ((x: E) => F)
- fn6: ((x: F) => G)
- fn7: ((x: G) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, E, F, G, H, R>(fn1, fn2, fn3, fn4, fn5, fn6, fn7, fn8): ((...a: A) => R)
Type Parameters
- A extends unknown[]
- B
- C
- D
- E
- F
- G
- H
- R
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => E)
- fn5: ((x: E) => F)
- fn6: ((x: F) => G)
- fn7: ((x: G) => H)
- fn8: ((x: H) => R)
Returns ((...a: A) => R)
- pipe<A, B, C, D, E, F, G, H, I, R>(fn1, fn2, fn3, fn4, fn5, fn6, fn7, fn8, fn9): ((...a: A) => R)
Type Parameters
- A extends unknown[]
- B
- C
- D
- E
- F
- G
- H
- I
- R
Parameters
- fn1: ((...x: A) => B)
- fn2: ((x: B) => C)
- fn3: ((x: C) => D)
- fn4: ((x: D) => E)
- fn5: ((x: E) => F)
- fn6: ((x: F) => G)
- fn7: ((x: G) => H)
- fn8: ((x: H) => I)
- fn9: ((x: I) => R)
Returns ((...a: A) => R)
Composes multiple functions into a single function that can be called with multiple arguments.