The match pattern
The modifiers
The validation options
The validation context.
The array of values.
An empty array if valid, an array of indexes otherwise.
Value is valid if it passes the {@link matches} check.
The validation context.
The object containing the property to validate.
The result of the call to {@link matches}
Generated using TypeDoc
Decorator that checks if the value matches the pattern.
Example