# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>public static</strong> <a href="methods/static-define"><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=""><code>RangeError</code></a> instance with the <a href="../commonerror/accessors/get-message">message</a> built from the given required <a href="static-define#problem-string"><code>problem</code></a>, <a href="static-define#fix-string"><code>fix</code></a> and optional <a href="static-define#id-id"><code>id</code></a>, <a href="static-define#max-max"><code>max</code></a>, <a href="static-define#min-min"><code>min</code></a> on the given or stored <a href="static-define#template-rangeerror.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="methods/static-israngeerror"><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="static-israngeerror#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=""><code>RangeError</code></a> of any or the given <a href="static-israngeerror#min-min">minimum</a>/<a href="static-israngeerror#max-max">maximum</a> range and <a href="static-israngeerror#id-id">identification</a>.</p>                                                                                                  |
