Checks if the given value is a Map which does not contain any of the forbidden values.
// Ensure the map does not contain the values 'foo' and 'bar'.@MapNotContains(['foo', 'bar'])values: Map<number, string> Copy
// Ensure the map does not contain the values 'foo' and 'bar'.@MapNotContains(['foo', 'bar'])values: Map<number, string>
The type of values to check for.
The values forbidden in the given map.
Optional
Generic class-validator options.
Checks if the given value is a Map which does not contain any of the forbidden values.
Example