foundation-utils.defaulterrormap.has
Home > @genesislcap/foundation-utils > DefaultErrorMap > has
DefaultErrorMap.has() method
Has an error for key.
Signature:
has(key: keyof TErrorDetailMap): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
keyof TErrorDetailMap |
The key. |
Returns:
boolean
True if it exists, otherwise false.