valueOf()
Returns the primitive value of a specified Maximum object
Maximum.prototype.valueOf()
Maximum.prototype.valueOf()Return type
Returns
Example usage
Last updated
Returns the primitive value of a specified Maximum object
Maximum.prototype.valueOf()Last updated
public valueOf(): Value {
return super.valueOf() as Value;
}// Example usage.
import { Maximum } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns 390 of type 390.
new Maximum(id).valueOf();