Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

chunks

  • chunks(list: List, length: number): List[]
  • Similar to PHP's array_chunks method this method will take any kind of list of chunks that are not longer than the given "length".

    Parameters

    • list: List

      The list to split into chunks

    • length: number

      The maximum number of items to put into a single chunk

    Returns List[]

Generated using TypeDoc