Home Manual Reference Source
public class | source

BackwardRange

Extends:

Range → BackwardRange

Constructor Summary

Public Constructor
public

constructor(start: number, stop: number, step: number)

Constructor.

Method Summary

Public Methods
public

[Symbol.iterator](): IterableIterator<number>

public

Has.

Inherited Summary

From class Range
public

length: *

public

start: *

public

step: *

public

stop: *

public

Get.

public

Public Constructors

public constructor(start: number, stop: number, step: number) source

Constructor.

Override:

Range#constructor

Params:

NameTypeAttributeDescription
start number
stop number
step number

Public Methods

public [Symbol.iterator](): IterableIterator<number> source

Return:

IterableIterator<number>

public has(x: number): boolean source

Has.

Params:

NameTypeAttributeDescription
x number

Return:

boolean