Function chunkedBySizeKeepOrder

  • Splits the array content in x chunks of size elements each, keeps the original order of the elements.

    Type Parameters

    • T

    Parameters

    • array: T[]

      array to perform the operation.

    • count: number

      number of elements in each chunk.

    Returns T[][]

Generated using TypeDoc