• Internal

    Create a new generator that yields numbers in the range [start, stop) if start < stop, and [stop, start] if start > stop, with a given step.

    Parameters

    • start: number

      The lower bound of the range

    • stop: number

      The upper bound of the range

    • step: number

      The step size

    Returns Generator<number>

    A new generator that yields numbers in the range [start, stop)

Generated using TypeDoc