• Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length range is created unless a negative step is specified.


    • start: number

      The start of the range.

    • Optional end: number

      The end of the range.

    • Optional step: number

      The value to increment or decrement by.

    Returns number[]

    Returns a new range array.

  • Parameters

    • end: number
    • index: string | number
    • guard: object

    Returns number[]



Generated using TypeDoc