Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "chunk"

Index

Functions

Functions

chunk

  • chunk<T>(this: Sequence<T>, chunkSize: number): Array<Array<T>>
  • Splits the elements of the sequence into arrays which length is determined by the given chunkSize and returns all chunks as array.

    Type parameters

    • T

    Parameters

    Returns Array<Array<T>>