@resistdesign/voltra
    Preparing search index...

    Function validateValueMatchesPattern

    • Validates a value against a pattern.

      value must be a string or not supplied. pattern must be a string or not supplied.

      If either are not supplied, the result is valid.

      Parameters

      • typeName: string

        Type name for the validation context.

      • Optionalvalue: any

        Value to validate.

      • Optionalpattern: string

        Regex pattern to validate against.

      Returns TypeInfoValidationResults

      Validation results for the pattern.