has()
Checks whether the error of the given id exists in a specified object
Last updated
Was this helpful?
Checks whether the error of the given id exists in a specified object
Last updated
Was this helpful?
CommonErrors.prototype.has()
The has()
method checks whether the error of the given exists in a specified object.
ErrorId
extends
A generic type variable ErrorId
constrained by the generic type variable of the object indicates the type picked from the and its exact type is useful in picking the specific error from the storage.
id:
The error identification number of generic type variable to test for the presence of the error in the object.
this