★ Constructor
The `Greater` primitive wrapper object constructor
Greater()
Greater()Creates the Greater instance with the given value.
constructor(value: Value) {
super(value);
}Parameters
ParametersThe value of generic type variable Value to set with a new instance.
Example usage
// Example usage.
import { Greater } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns Greater {390} of Greater<390>.
new Greater(id);Last updated
Was this helpful?