Decorator that checks if the array value is not in array of allowed values.
class IsArrayNotInDemo { @IsArrayIn([1,2,3]) p0: any[] = [1,2,4]}
The validation options
Check whether the value is not in the target array
The validation context.
The object containing the property to validate.
True if the value is not in the target array.
Generated using TypeDoc
Decorator that checks if the array value is not in array of allowed values.
Example