@pleisto/active-support
    Preparing search index...

    Variable chunkConst

    chunk: <T>(list: readonly T[], size?: number) => T[][]

    Splits a single list into many lists of the desired size. If given a list of 10 items and a size of 2, it will return 5 lists with 2 items each

    Type declaration

      • <T>(list: readonly T[], size?: number): T[][]
      • Type Parameters

        • T

        Parameters

        • list: readonly T[]
        • Optionalsize: number

        Returns T[][]