Function rangeAsArray

  • Returns an array of ranges

    e.g. [[1,3], [5,6], [10,15], [20,20]]

    Parameters

    • range: number[]

      An array of integers to describe

    Returns [number, number][]

Generated using TypeDoc