- pipe<T>(i): T extends Iterable<E>
? IterableExt<E>
: never Type Parameters
- T extends Iterable<unknown>
Returns T extends Iterable<E>
? IterableExt<E>
: never
- pipe<T, A>(i, p0): IterableExt<A>
Type Parameters
- T extends Iterable<unknown>
- A
- pipe<T, A, B>(i, p0, p1): IterableExt<B>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- pipe<T, A, B, C>(i, p0, p1, p2): IterableExt<C>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- pipe<T, A, B, C, D>(i, p0, p1, p2, p3): IterableExt<D>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- pipe<T, A, B, C, D, E>(i, p0, p1, p2, p3, p4): IterableExt<E>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- pipe<T, A, B, C, D, E, F>(i, p0, p1, p2, p3, p4, p5): IterableExt<F>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- F
- pipe<T, A, B, C, D, E, F, G>(i, p0, p1, p2, p3, p4, p5, p6): IterableExt<G>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- F
- G
- pipe<T, A, B, C, D, E, F, G, H>(i, p0, p1, p2, p3, p4, p5, p6, p7): IterableExt<H>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- F
- G
- H
- pipe<T, A, B, C, D, E, F, G, H, I>(i, p0, p1, p2, p3, p4, p5, p6, p7, p8): IterableExt<I>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- F
- G
- H
- I
- pipe<T, A, B, C, D, E, F, G, H, I, J>(i, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9): IterableExt<J>
Type Parameters
- T extends Iterable<unknown>
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
Parameters
- i: T
- p0: Operation<T extends Iterable<E>
? E
: never, A> - p1: Operation<A, B>
- p2: Operation<B, C>
- p3: Operation<C, D>
- p4: Operation<D, E>
- p5: Operation<E, F>
- p6: Operation<F, G>
- p7: Operation<G, H>
- p8: Operation<H, I>
- p9: Operation<I, J>
- pipe(i, ...p): IterableExt<unknown>
Parameters
- i: Iterable<unknown>
Rest
...p: readonly Operation<unknown, unknown>[]
- pipe<T>(i): T extends UnknownIterable<E>
? AsyncIterableExt<E>
: never - pipe<T, A>(i, p0): AsyncIterableExt<A>
- pipe<T, A, B>(i, p0, p1): AsyncIterableExt<B>
- pipe<T, A, B, C>(i, p0, p1, p2): AsyncIterableExt<C>
- pipe<T, A, B, C, D>(i, p0, p1, p2, p3): AsyncIterableExt<D>
- pipe<T, A, B, C, D, E>(i, p0, p1, p2, p3, p4): AsyncIterableExt<E>
- pipe<T, A, B, C, D, E, F>(i, p0, p1, p2, p3, p4, p5): AsyncIterableExt<F>
- pipe<T, A, B, C, D, E, F, G>(i, p0, p1, p2, p3, p4, p5, p6): AsyncIterableExt<G>
- pipe<T, A, B, C, D, E, F, G, H>(i, p0, p1, p2, p3, p4, p5, p6, p7): AsyncIterableExt<H>
- pipe<T, A, B, C, D, E, F, G, H, I>(i, p0, p1, p2, p3, p4, p5, p6, p7, p8): AsyncIterableExt<I>
- pipe<T, A, B, C, D, E, F, G, H, I, J>(i, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9): AsyncIterableExt<J>
Parameters
- i: T
- p0: Operation<T extends UnknownIterable<E>
? E
: never, A> - p1: Operation<A, B>
- p2: Operation<B, C>
- p3: Operation<C, D>
- p4: Operation<D, E>
- p5: Operation<E, F>
- p6: Operation<F, G>
- p7: Operation<G, H>
- p8: Operation<H, I>
- p9: Operation<I, J>
- pipe(i, ...p): AsyncIterableExt<unknown>
Pipes an
Iterable
orAsyncIterable
through the list of operators, and returns either IterableExt or AsyncIterableExt.Throws
TypeError: 'An iterable object was expected: ...'
when the input is not iterable.See