kollectionjs - v2.0.0
    Preparing search index...

    Function concat

    • Creates a Sequence that lazily concatenates all given iterables in order.

      Type Parameters

      • T

        The element type.

      Parameters

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

        Zero or more iterables to concatenate.

      Returns Sequence<T>

      concat([1, 2], [3, 4], [5]).toArray(); // [1, 2, 3, 4, 5]