The `get` accessor obtains the maximum range
Last updated 1 year ago
Was this helpful?
RangeError.prototype.max
The accessor obtains the maximum range of generic type variable that causes an error to be thrown(or not thrown), if set, otherwise returns .
public get max(): Max | undefined { return this.#max; }
|
The return value is the maximum range of generic type variable or .
// Example usage. import { RangeError } from '@angular-package/error'; // Returns "27". new RangeError('problem', 'Fix accessor.', '(AE:427)', 9, 27).max;
get
undefined
Max