The `RangeError` object methods
public static define(): RangeError<Id, Min, Max> Defines the RangeError instance with the message built from the given required problem, fix and optional id, max, min on the given or stored template.
RangeError
problem
fix
id
max
min
template
public static isRangeError(): value is RangeError<Id, Min, Max> Checks whether the value of anyarrow-up-right type is an instance of RangeError of any or the given minimum/maximum range and identification.
value
any
Last updated 2 years ago