interface-forge - v2.5.0
    Preparing search index...

    Interface $ZodCheckStringFormatDef<Format>

    interface $ZodCheckStringFormatDef<
        Format extends $ZodStringFormats = $ZodStringFormats,
    > {
        abort?: boolean;
        check: "string_format";
        error?: $ZodErrorMap<never>;
        format: Format;
        pattern?: RegExp;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    abort?: boolean

    If true, no later checks will be executed if this check fails. Default false.

    check: "string_format"
    error?: $ZodErrorMap<never>
    format: Format
    pattern?: RegExp