Methods
The `Range` object methods
Last updated
The `Range` object methods
Last updated
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.