Methods

The `TypeError` object methods

public static define(): TypeError<Id, Type> Defines the TypeError instance with the message built of the given required problem, fix and optional id and type on the given or stored template.

public static isTypeError(): value is TypeError<Id, Type> Checks whether the value of any type is an instance of TypeError of any or the given type and identification.

Last updated