Home Manual Reference Source
public class | source

Range

Direct Subclass:

BackwardRange, ForwardRange

Constructor Summary

Public Constructor
public

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

Constructor.

Member Summary

Public Members
public

length: *

public

start: *

public

step: *

public

stop: *

Method Summary

Public Methods
public

Get.

public

Public Constructors

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

Constructor.

Params:

NameTypeAttributeDescription
start number
stop number
step number
length number

Public Members

public length: * source

public start: * source

public step: * source

public stop: * source

Public Methods

public get(i: number): number source

Get.

Params:

NameTypeAttributeDescription
i number

Return:

number

public toString(): string source

Return:

string