a Decorator that checks that the property is an array and that it is one containing unique values.
class isArrayUniqueDemo { @IsArrayUnique() p0: any[] = [1,2,3]}
The validation options
Value is valid if it passes the {@link isArrayUnique} check.
The validation context.
The object containing the property to validate.
The result of the call to {@link isArrayUnique}
Generated using TypeDoc
a Decorator that checks that the property is an array and that it is one containing unique values.
Example