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

    Interface $ZodNumberInternals<Input>

    interface $ZodNumberInternals<Input = unknown> {
        def: $ZodNumberDef;
        isst: $ZodIssueInvalidType;
        pattern: RegExp;
        toJSONSchema?: () => unknown;
        version: { major: 4; minor: 0; patch: number };
    }

    Type Parameters

    • Input = unknown
    Index

    Properties

    Schema definition.

    Internal API, use with caution (not deprecated)

    pattern: RegExp

    Internal API, use with caution (not deprecated)

    toJSONSchema?: () => unknown

    An optional method used to override toJSONSchema logic.

    version: { major: 4; minor: 0; patch: number }

    The @zod/core version of this schema