• Checks if the given value is a Map with a size greater than or equal to minimum.

    Example

    // Ensure the map has at least 5 entries.
    @MapMinSize(5)
    values: Map<string, string>

    Parameters

    • minimum: number

      The minimum allowed size of the map.

    • Optional options: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator