Checks if the given value is a Map and contains all required values.
Example// Ensure the map contains (at least) 'foo' and 'bar'.
@MapContains(['foo', 'bar'])
values: Map<number, string>
Type Parameters
The type of values to check for.
The values required in the given map.
Optional
options: ValidationOptions
Generic class-validator options.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4