Skip to main content
Version: 3.10

chunk

Callable

  • chunk<T>(array: readonly T[], chunkSize: number): T[][]

  • Type parameters

    • T

    Parameters

    • array: readonly T[]
    • chunkSize: number

    Returns T[][]