For the complete documentation index, see llms.txt. This page is also available as Markdown.

get max()

The `get` accessor obtains the maximum range

RangeError.prototype.max

The 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.

range-error.class.ts
public get max(): Max | undefined {
  return this.#max;
}

Return type

Returns

The return value is the maximum range of generic type variable Max or undefined.

Example usage

// Example usage.
import { RangeError } from '@angular-package/error';

// Returns "27".
new RangeError('problem', 'Fix accessor.', '(AE:427)', 9, 27).max;

Last updated