↓ Static

The `Range` object static methods

public static create(): Range<Value> Returns a new instance of Range with a range of the given required min, max and optional current value, step.

public static createFrom(): Range<number, number, Step> Creates the Range instance from the given random numbers and the step.

public static createMaximum(): Maximum<Value> Returns the Maximum instance of the given maximum value.

public static createMinimum(): Minimum<Value> Returns the Minimum instance of the given minimum value.

public static isRange(): value is Range<Min, Max> Checks whether the value is an instance of Range of any or the given minimum and maximum range and step.

Last updated