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

Interface ZodExactOptional

packages/zod/src/v4/classic/schemas.ts:2083–2088  ·  packages/zod/src/v4/classic/schemas.ts::ZodExactOptional

Source from the content-addressed store, hash-verified

2081
2082class="cm">// ZodExactOptional
2083export interface ZodExactOptional<T extends core.SomeType = core.$ZodType>
2084 extends _ZodType<core.$ZodExactOptionalInternals<T>>,
2085 core.$ZodExactOptional<T> {
2086 class="st">"~standard": ZodStandardSchemaWithJSON<this>;
2087 unwrap(): T;
2088}
2089export const ZodExactOptional: core.$constructor<ZodExactOptional> = /*@__PURE__*/ core.$constructor(
2090 class="st">"ZodExactOptional",
2091 (inst, def) => {

Callers

nothing calls this directly

Implementers 5

ZodPromisepackages/zod/src/v3/types.ts
ZodOptionalpackages/zod/src/v3/types.ts
ZodNullablepackages/zod/src/v3/types.ts
ZodBrandedpackages/zod/src/v3/types.ts
ZodReadonlypackages/zod/src/v3/types.ts

Calls

no outgoing calls

Tested by

no test coverage detected