Checks if the given value is a Set and contains all required values.
// Ensure the set contains (at least) 'foo' and 'bar'.@SetContains(['foo', 'bar'])values: Set<string> Copy
// Ensure the set contains (at least) 'foo' and 'bar'.@SetContains(['foo', 'bar'])values: Set<string>
The type of values to check for.
The values required in the given set.
Optional
Generic class-validator options.
Checks if the given value is a Set and contains all required values.
Example