The maximum value in the range.
The minimum value in the range.
A range instance which contains invalid values.
The average number between the min and max.
True if the min and max are decimal.
True if the min and max are the same value.
True if the min or max are a fraction.
True if the min and max are not the same value.
True if one of min and max are rates.
True if the min and max are both singular (1 or -1).
True if the min and max are both valid.
True if the min and max are both equal to zero.
The maximum value of this range.
The minimum value of this range.
The unit which identifies the group of the minimum value or null
if the
minimum value does not have a group.
The minimum value of this range.
Returns a range which is coerced into being represented by fractions if a valid fraction can be determined from the units valid denominators.
A new range if the minimum and maximum are not fractions, otherwise the reference to this range is returned.
Determines if the given range matches this range enough to allow a simple mathematical operation between the two ranges.
The range to test.
True if the groups of the given range match this range.
A range with only the maximum value from this range.
A range with only the minimum value from this range.
A range which has only negative values. If the range is entirely
positive then null
is returned.
A range which has a non-zero min and max. If both are equial to
zero then null
is returned.
Creates a range with with units that best represent the values. This may cause the minimum and maximum values to have different units.
Options to control which units and values are acceptable.
The output options that should be used to determine which value & unit is best.
A new range.
Returns a range which has any fraction values converted to numbers.
A new range if the mimimum or maximum are fractions, otherwise the the reference to this range is returned.
Converts this range to a string with the given output options taking into account the global options.
The options to override the global output options.
The string representation of this instance.
A range which has only positive values. If the range is entirely
negative then null
is returned.
A range which has the min and max converted to their preferred units.
Multiplies this range by a scalar factor.
The amount to multiply the range by.
A new range.
Generated using TypeDoc
A pair of minimum and maximum values. A range can be fixed which means the minimum and maximum are equivalent - in which case the range behaves like a Value.