MCPcopy
hub / github.com/colinhacks/zod / zod-object.ts

File zod-object.ts

packages/treeshake/zod-object.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as z from "zod/v4";
2
3const schema = z.object({ a: z.string(), b: z.number(), c: z.boolean() });
4

Callers

nothing calls this directly

Calls 4

stringMethod · 0.80
numberMethod · 0.80
booleanMethod · 0.80
parseMethod · 0.65

Tested by

no test coverage detected