Input validation result.
Combines messages sent by all registered validators.
Implements Iterable interface by iterating over all validation messages.
Iterable
Readonly
Whether validation succeed.
This is true when there is no validation messages, or false otherwise.
true
false
Checks whether there are errors with the given code.
Optional
Target code. Any message matches when absent.
true if there is at least one message with the given code, or false otherwise.
Checks whether there are errors without the given codes.
Rest
Excluded codes. Any message matches when empty.
true is there is at least one message without any of the given codes, or false otherwise.
Returns messages with the given code.
Target code. All messages reported when absent.
An array of matching messages. Possibly empty.
Generated using TypeDoc
Input validation result.
Combines messages sent by all registered validators.
Implements
Iterable
interface by iterating over all validation messages.