Decorator that checks if the array valued property is in the target array.
The target array
The validation options
class IsArrayInDemo { @IsArrayIn([1,2,3]) p0: any[] = [1,2]}
Value is valid if the array values are 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 valued property is in the target array.