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