Accessors

The `Range` object accessors

public get range(): Readonly<Array<number>> The get accessor obtains the range of an Array of the minimum to the maximum with the step of a specified Range object.

public get step(): Step The get accessor obtains the step of a specified Range object.

public get steps(): number Retrieves the number of steps of the specified Range object.

public value(): number | undefined The value accessor indicates the range current value of the number type of a specified Range object.

public get [Symbol.toStringTag](): string The get accessor, with the help of toStringTag, changes the default tag to 'Range' for an instance of Range.

Last updated