Function Graph Overview
    Preparing search index...

    Function chain

    • Chains multiple arrays into a single iterable sequence.

      Type Parameters

      • T

        The type of elements in the input arrays

      Parameters

      • ...arrays: readonly T[][]

        Multiple input arrays to be chained together

      Returns IterableIterator<T>

      A generator yielding all elements from input arrays in order

      [...chain([1, 2], [3, 4], [5, 6])] // [1, 2, 3, 4, 5, 6]