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

    Example

    // Ensure the set has at least 5 entries.
    @SetMinSize(5)
    values: Set<string>

    Parameters

    • minimum: number

      The minimum allowed size of the set.

    • Optional options: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator

Generated using TypeDoc