> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/error/rangeerror/methods.md).

# Methods

The \`RangeError\` object methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>public static</strong> <a href="/error/rangeerror/methods/static-define.md"><strong>define()</strong></a><strong>:</strong> <mark style="color:green;">RangeError</mark><<mark style="color:green;">Id</mark>, <mark style="color:green;">Min</mark>, <mark style="color:green;">Max</mark>><br>Defines the <a href="/error/rangeerror/overview.md"><code>RangeError</code></a> instance with the <a href="/error/commonerror/accessors/get-message.md">message</a> built from the given required <a href="/error/rangeerror/methods/static-define.md#problem-string"><code>problem</code></a>, <a href="/error/rangeerror/methods/static-define.md#fix-string"><code>fix</code></a> and optional <a href="/error/rangeerror/methods/static-define.md#id-id"><code>id</code></a>, <a href="/error/rangeerror/methods/static-define.md#max-max"><code>max</code></a>, <a href="/error/rangeerror/methods/static-define.md#min-min"><code>min</code></a> on the given or stored <a href="/pages/pIRw6dz385L7OxhSnFpa#template-rangeerror.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="/error/rangeerror/methods/static-israngeerror.md"><strong>isRangeError()</strong></a><strong>:</strong> value is <mark style="color:green;">RangeError</mark><<mark style="color:green;">Id</mark>, <mark style="color:green;">Min</mark>, <mark style="color:green;">Max</mark>><br>Checks whether the <a href="/error/rangeerror/methods/static-israngeerror.md#value-any"><code>value</code></a> of <a href="https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any"><code>any</code></a> type is an instance of <a href="/error/rangeerror/overview.md"><code>RangeError</code></a> of any or the given <a href="/error/rangeerror/methods/static-israngeerror.md#min-min">minimum</a>/<a href="/error/rangeerror/methods/static-israngeerror.md#max-max">maximum</a> range and <a href="/error/rangeerror/methods/static-israngeerror.md#id-id">identification</a>.</p>                                                                                                                                                    |
