Function makeGroups

  • Distributes elements in groups of equal size.

    Type Parameters

    • T

    Parameters

    • elements: T[]

      A list of elements to distribute in groups.

    • groupCount: number

      The group count.

    Returns T[][]

Generated using TypeDoc