subdivideArray - Cesium Documentation

# subdivideArray

#### subdivideArray(array, numberOfArrays)

  Subdivides an array into a number of smaller, equal sized arrays.

  Name | Type | Description
  --- | --- | ---
  `array` | Array | The array to divide.
  `numberOfArrays` | Number | The number of arrays to divide the provided array into.

  ##### Throws:

  - DeveloperError : numberOfArrays must be greater than 0.
  Source: Core/subdivideArray.js, line 20