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