@szilanor/stream
    Preparing search index...

    Variable chainConst

    chain: <T>(...iterables: Iterable<T, any, any>[]) => Stream<T> = concat

    Type Declaration

      • <T>(...iterables: Iterable<T, any, any>[]): Stream<T>
      • Returns a Stream that yields elements of all Iterable parameters in order.

        Type Parameters

        • T

          Type of items in the Iterables.

        Parameters

        • ...iterables: Iterable<T, any, any>[]

          Iterables to concatenate.

        Returns Stream<T>

        Stream that yields elements of all Iterables in order.

        const result = concat<number>([1, 2, 3], [4, 5, 6]);
        console.log(result); // [1, 2, 3, 4, 5, 6]