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