pipe

function stable

pipe(...fns: UnaryFunction<any, any>[]): UnaryFunction<any, any>

Parameters

fns

Type: UnaryFunction[].

Returns

UnaryFunction<any, any>

Overloads

pipe(): typeof identity

Parameters

There are no parameters.

Returns

typeof identity

pipe(fn1: UnaryFunction<T, A>): UnaryFunction<T, A>

Parameters

fn1

Type: UnaryFunction.

Returns

UnaryFunction<T, A>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>): UnaryFunction<T, B>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

Returns

UnaryFunction<T, B>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>): UnaryFunction<T, C>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

Returns

UnaryFunction<T, C>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>): UnaryFunction<T, D>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

Returns

UnaryFunction<T, D>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>): UnaryFunction<T, E>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

Returns

UnaryFunction<T, E>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>): UnaryFunction<T, F>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

fn6

Type: UnaryFunction.

Returns

UnaryFunction<T, F>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>): UnaryFunction<T, G>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

fn6

Type: UnaryFunction.

fn7

Type: UnaryFunction.

Returns

UnaryFunction<T, G>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>): UnaryFunction<T, H>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

fn6

Type: UnaryFunction.

fn7

Type: UnaryFunction.

fn8

Type: UnaryFunction.

Returns

UnaryFunction<T, H>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>): UnaryFunction<T, I>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

fn6

Type: UnaryFunction.

fn7

Type: UnaryFunction.

fn8

Type: UnaryFunction.

fn9

Type: UnaryFunction.

Returns

UnaryFunction<T, I>

pipe(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>, ...fns: UnaryFunction<any, any>[]): UnaryFunction<T, unknown>

Parameters

fn1

Type: UnaryFunction.

fn2

Type: UnaryFunction.

fn3

Type: UnaryFunction.

fn4

Type: UnaryFunction.

fn5

Type: UnaryFunction.

fn6

Type: UnaryFunction.

fn7

Type: UnaryFunction.

fn8

Type: UnaryFunction.

fn9

Type: UnaryFunction.

fns

Type: UnaryFunction[].

Returns

UnaryFunction<T, unknown>

© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/function/pipe