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

Function or

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

Source from the content-addressed store, hash-verified

308 return array(this);
309 },
310 or(arg) {
311 return union([this, arg]);
312 },
313 and(arg) {
314 return intersection(this, arg);
315 },

Callers

nothing calls this directly

Calls 1

unionFunction · 0.70

Tested by

no test coverage detected