Checks if the given value is a Map with a size less than or equal to maximum.
maximum
// Ensure the map has at most 5 entries.@MapMaxSize(5)values: Map<string, string> Copy
// Ensure the map has at most 5 entries.@MapMaxSize(5)values: Map<string, string>
The maximum allowed size of the map.
Optional
Generic class-validator options.
Checks if the given value is a Map with a size less than or equal to
maximum
.Example