Home Manual Reference Source

References

summary
public
public
public

C Range

public

F * backwardRangeIterator(start: number, stop: number, step: number): IterableIterator<number>

Yields values in a range, separated by a fixed negative constant called step.

public

F * forwardRangeIterator(start: number, stop: number, step: number): IterableIterator<number>

Yields values in a range, separated by a fixed positive constant called step.

public

F range(start: number, stop: number, step: number): ForwardRange | BackwardRange

Constructs a Range whose iterator yields values in an interval, separated by a fixed constant called step.

public

F rangeArgs(start: number, stop: number, step: number): [number, number, number]

Resolve arguments for range and rangeIterator.

public

F rangeIterator(start: number, stop: number, step: number): IterableIterator<number>

Yields values in a range, separated by a fixed constant called step.