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

Method apply

packages/zod/src/v4/classic/schemas.ts:210–210  ·  view source on GitHub ↗
(fn: (schema: this) => T)

Source from the content-addressed store, hash-verified

208 */
209 isNullable(): boolean;
210 apply<T>(fn: (schema: this) => T): T;
211}
212
213export interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>

Callers 3

_parseMethod · 0.65
apply.test.tsFile · 0.65
schemas.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected