Function chunkedByCount

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

    Type Parameters

    • T

    Parameters

    • array: T[]

      array to perform the operation.

    • count: number

      number of chunks.

    Returns T[][]

Generated using TypeDoc