static isError()
Checks whether the value of any type is a this instance of any or the given identification
CommonError.isError()
CommonError.isError()
Checks whether the value
of any
type is a this
instance of any or the given identification.
common-error.class.ts
Generic type variables
A generic type variable constrained by the string
indicates the
Parameters
value:
any
value:
any
The value of any
type to check against the this
instance.
Optional identification of generic type variable Id
to check whether the given value
contains.
Return type
The return type is a boolean
indicating the value
is the CommonError
object that takes generic type variable Id
.
Returns
The return value is a boolean
type indicating whether the given value
is a this
instance of any or the given id
.
Example usage
Last updated