★ Constructor
The `Minimum` primitive wrapper object constructor
Minimum()
Minimum()
Creates the Minimum
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 { Minimum } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns Minimum {390} of Minimum<390>.
new Minimum(id);
Last updated
Was this helpful?