MCPcopy
hub / github.com/colinhacks/zod / nullish

Method nullish

packages/zod/src/v4/classic/schemas.ts:166–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
165 nullable(): ZodNullable<this>;
166 nullish(): ZodOptional<ZodNullable<this>>;
167 default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;
168 default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;
169 prefault(def: () => core.input<this>): ZodPrefault<this>;

Callers 7

index.tsFile · 0.80
partials.test.tsFile · 0.80
optional.test.tsFile · 0.80
partial.test.tsFile · 0.80
checks.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected