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

Function strict

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

Source from the content-addressed store, hash-verified

1475 return this.clone({ ...this._zod.def, catchall: unknown() });
1476 },
1477 strict() {
1478 return this.clone({ ...this._zod.def, catchall: never() });
1479 },
1480 strip() {
1481 return this.clone({ ...this._zod.def, catchall: undefined });
1482 },

Callers

nothing calls this directly

Calls 2

neverFunction · 0.70
cloneMethod · 0.65

Tested by

no test coverage detected