BUPKIS
    Preparing search index...

    Interface ZodTypeMap

    Maps Zod def.type strings to their corresponding ZodType classes.

    This allows for type-safe discrimination of ZodTypes based on their internal def.type property in Zod v4.

    interface ZodTypeMap {
        any: ZodAny;
        array: ZodArray;
        bigint: ZodBigInt;
        boolean: ZodBoolean;
        catch: ZodCatch;
        custom: ZodCustom;
        date: ZodDate;
        default: ZodDefault;
        enum: ZodEnum;
        function: ZodFunction;
        intersection: ZodIntersection;
        lazy: ZodLazy;
        literal: ZodLiteral;
        map: ZodMap;
        never: ZodNever;
        nonoptional: ZodNonOptional;
        null: ZodNull;
        nullable: ZodNullable;
        number: ZodNumber;
        object: ZodObject;
        optional: ZodOptional;
        pipe: ZodPipe;
        promise: ZodPromise;
        readonly: ZodReadonly;
        record: ZodRecord;
        set: ZodSet;
        string: ZodString;
        symbol: ZodSymbol;
        tuple: ZodTuple;
        undefined: ZodUndefined;
        union: ZodUnion;
        unknown: ZodUnknown;
        void: ZodVoid;
    }
    Index

    Properties

    any: ZodAny
    array: ZodArray
    bigint: ZodBigInt
    boolean: ZodBoolean
    catch: ZodCatch
    custom: ZodCustom
    date: ZodDate
    default: ZodDefault
    enum: ZodEnum
    function: ZodFunction
    intersection: ZodIntersection
    lazy: ZodLazy
    literal: ZodLiteral
    map: ZodMap
    never: ZodNever
    nonoptional: ZodNonOptional
    null: ZodNull
    nullable: ZodNullable
    number: ZodNumber
    object: ZodObject
    optional: ZodOptional
    pipe: ZodPipe
    promise: ZodPromise
    readonly: ZodReadonly
    record: ZodRecord
    set: ZodSet
    string: ZodString
    symbol: ZodSymbol
    tuple: ZodTuple
    undefined: ZodUndefined
    union: ZodUnion
    unknown: ZodUnknown
    void: ZodVoid