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

Method and

packages/zod/src/v4/classic/schemas.ts:173–173  ·  view source on GitHub ↗
(incoming: T)

Source from the content-addressed store, hash-verified

171 array(): ZodArray<this>;
172 or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;
173 and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;
174 transform<NewOut>(
175 transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>
176 ): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;

Callers 5

object.test.tsFile · 0.80
record.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected