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

    // Ensure the set is not empty.
    @SetNotEmpty()
    values: Set<string>

    Parameters

    • Optionaloptions: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator