# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public static</strong> <a href="methods/static-define"><strong>define()</strong></a><strong>:</strong> <mark style="color:green;">TypeError</mark><<mark style="color:green;">Id</mark>, <mark style="color:green;">Type</mark>><br>Defines the <a href=""><code>TypeError</code></a> instance with the <a href="../commonerror/accessors/get-message">message</a> built of 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> and <a href="static-define#type-type"><code>type</code></a> on the given or stored <a href="static-define#template-typeerror.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="methods/static-istypeerror"><strong>isTypeError()</strong></a><strong>:</strong> value is <mark style="color:green;">TypeError</mark><<mark style="color:green;">Id</mark>, <mark style="color:green;">Type</mark>><br>Checks whether the <a href="#value-any"><code>value</code></a> of <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html#any"><code>any</code></a> type is an instance of <a href=""><code>TypeError</code></a> of any or the given <a href="#type-string"><code>type</code></a> and <a href="static-istypeerror#id-id">identification</a>.</p>                                                                                                                                       |
