Checks if the given value is a Map.
This is a convenience decorator for @IsInstance(Map).
@IsInstance(Map)
// Ensure the value is a Map.@IsMap()values: Map<string, string> Copy
// Ensure the value is a Map.@IsMap()values: Map<string, string>
Optional
Generic class-validator options.
Checks if the given value is a Map.
This is a convenience decorator for
@IsInstance(Map)
.Example