★ Constructor
Creates the Maximum instance of the given primitive value
Maximum()
Maximum()
Creates the Maximum
instance of the given primitive value
.
constructor(value: Value) {
super(value);
}
Parameters
Parameters
The value of the generic type variable Value
is the primitive value of the new instance.
Example usage
// Example usage.
import { Maximum } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns Maximum {390} of Maximum<390>.
new Maximum(id);
Last updated