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 is in the target array.
The validation context.
The object containing the property to validate.
True if the value is in the target array.
Generated using TypeDoc
Decorator that checks if the array value is in the array of values.
Example