get [Symbol.toStringTag]()
Changes the default tag to 'TypeError' for an instance
[Symbol.toStringTag]()
[Symbol.toStringTag]()
The get
accessor, with the help of toStringTag
, changes the default tag to 'ValidationError'
for an instance of ValidationError
.
It can be read by the typeOf()
function of @angular-package/type
.
validation-error.class.ts
Return type
Returns
The return value is the word 'ValidationError'
of a string
.
Example usage
Last updated