static createMaximum()
Returns the `Maximum` instance of the given maximum value
Range.createMaximum()
Range.createMaximum()
The static createMaximum()
method returns the Maximum
instance of the given maximum value
.
range.class.ts
Generic type variables
Value
extends
number
Value
extends
number
A generic type variable constrained by the number
, by default of the value captured from the supplied value
indicates the primitive value type of a new Maximum
instance.
Parameters
The maximum range of a generic type variable Value
to set with a new instance of Maximum
.
Return type
The return type is the Maximum
object that takes generic type variable Value
.
Returns
The return value is the Maximum
instance with the primitive value from the given value
.
Example usage
Last updated