static create()
Creates the Maximum instance with the given primitive value
Maximum.create()
Maximum.create()Creates the Maximum instance with the given primitive value.
public static define<Value extends number>(value: Value): Maximum<Value> {
return new this(value);
}Generic type variables
A generic type variable indicates captured type of the supplied value via the return type.
Parameters
The maximum number of generic type variable Value to set with a new instance.
Return type
The return type is the Maximum primitive wrapper object that takes the generic type variable Value.
Returns
The return value is the Maximum instance of any or the given primitive value.
Example usage
// Example usage.
import { Maximum } from '@angular-package/range';
// Returns Maximum {27} of Maximum<27>.
Maximum.create(27);Last updated