schema-components - v3.7.0
    Preparing search index...

    Function validateFormat

    • Validate a string value against format constraints. Returns true when the value matches the format, false when it does not, and undefined when the format is not recognised (no validator available).

      diagnostics and pointer are forwarded to validators that can surface structured diagnostics — currently the regex format, which emits pattern-invalid for over-length or malformed input.

      Parameters

      Returns boolean | undefined