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

Function apply

packages/zod/src/v4/classic/schemas.ts:355–357  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

353 return this.safeParse(null).success;
354 },
355 apply(fn) {
356 return fn(this);
357 },
358 });
359 Object.defineProperty(inst, "description", {
360 get() {

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected