Helpful
    Preparing search index...
    • A constraint that forces a data url data section to be between a minimum and maximum length inclusive.

      Parameters

      • min: number

        The minimum length. This will be 0 most of the time.

      • max: number

        The maximum length. Use Infinity if you want no max.

      • Optionaloptions: ValidationOptions

        The validator options.

      Returns (object: any, propertyName: string) => void

      A reflection decorator function that applies the constraint to a property.