Constructor
# new EqualsValidator(messageopt)
Equals Validator
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string
|
<optional> |
defaults to |
Extends
Methods
# hasErrors(value, options, accessor) → {string|undefined}
Validates a model
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
|
options |
EqualsValidatorOptions
|
|
accessor |
PathProxy.<any>
|
Proxy-like object used to resolve values from nested structures via path strings. |
- Overrides:
- See:
View Source validation/Validators/EqualsValidator.ts, line 82
string
|
undefined