Overview
The `Range` object
Last updated
Was this helpful?
The `Range` object
Last updated
Was this helpful?
public get : Readonly<Array<number>> The accessor obtains the range of an of the to the with the of a specified object.
public get : Step The accessor obtains the step of a specified object.
public get : number Retrieves the of steps of the specified object.
public : number | undefined
The value
accessor indicates the range current value of the type of a specified object.
public get : string
The accessor, with the help of , changes the default tag to 'Range'
for an instance of .
public readonly : Max
The max
read-only property is the maximum range of generic type variable of a specified object.
public readonly : Min;
The min
read-only property is the minimum range of generic type variable of a specified object.
: Maximum<Max> Private property of the with a primitive value from a given of the constructor indicates the maximum range.
: Minimum<Min> Private property of the with a primitive value from a given of the constructor indicates the minimum range.
: Step The private property of the generic type variable indicates the range step.
: number The private property of the type indicates the range value.
public static : Range<Value> Returns a new instance of with a range of the given required , and optional current , .
public static : Range<number, number, Step> Creates the instance from the given random and the .
public static : Maximum<Value> Returns the instance of the given maximum .
public static : Minimum<Value> Returns the instance of the given minimum .
public static : value is Range<Min, Max> Checks whether the is an instance of of any or the given and range and .
public : this Performs the specified action for each step in the range of an .
public : Readonly<Array<number>> | undefined Returns a range of numbers from to the current by the of a specified object.
public : number | undefined Returns the step of the range .
public : Max Gets the maximum range of a specified object.
public : Min Gets the minimum range of a specified object.
public : number[] Returns range of numbers from to the given with the of a specified object.
public : Readonly<Array<number>> | undefined Returns a range of numbers by the specified from the to the given of a specified object.
public : number | undefined Returns the range value of the given .
public : boolean Checks whether the is in the range of a specified object.
public : boolean Checks whether every value of the given is in the range of a specified object.
public : boolean Checks whether some are in the range of a specified object.
public : boolean Checks whether range of the given and is between the range of a specified object.
public : boolean Checks whether the range of a specified object is between every range of the given .
public : boolean Checks whether the range of a specified object is between some given .
public : boolean Checks whether the is less than the range of a specified object.
public : boolean Checks whether the is greater than the range of a specified object.
public : boolean Checks whether the is less than a range of a specified object.
public : boolean Checks whether the is greater than the range of a specified object.
public : this Sets the range between the and of a specified object.
public : this Sets the of the specified object to the value of the given .
public : this Performs a callback function with the ability to decide when to move to the next step of the range.
public : readonly [Min, Max] Returns a read-only array of the range in order minimum and maximum.
public : Readonly<{ min: Min; max: Max }> Returns a read-only object consisting of the primitive values of and instances.