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.
TypeError
problem
fix
id
type
template
public static isTypeError(): value is TypeError<Id, Type> Checks whether the value of anyarrow-up-right type is an instance of TypeError of any or the given type and identification.
value
any
Last updated 3 years ago