Helpful
    Preparing search index...

    Represents a validator for forcing the limit of the data section of a data uri to be between a certain length.

    Implements

    • ValidatorConstraintInterface
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Validates that the value is a data uri and that the data section is between the minimum and maximum length.

      Parameters

      • value: any

        The value to check.

      • args: ValidationArguments

        The constraints.

      Returns boolean

      True if value is a string data url and the data section of the url is between args.constraints[0] and args.constraints[1] inclusive.