• Checks if the given value is a Map with at least one entry.

    // Ensure the map is not empty.
    @MapNotEmpty()
    values: Map

    Parameters

    • Optionaloptions: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator