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

Function loose

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

Source from the content-addressed store, hash-verified

1472 return this.clone({ ...this._zod.def, catchall: unknown() });
1473 },
1474 loose() {
1475 return this.clone({ ...this._zod.def, catchall: unknown() });
1476 },
1477 strict() {
1478 return this.clone({ ...this._zod.def, catchall: never() });
1479 },

Callers

nothing calls this directly

Calls 2

unknownFunction · 0.70
cloneMethod · 0.65

Tested by

no test coverage detected