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

Method check

packages/zod/src/v4/core/checks.ts:24–24  ·  view source on GitHub ↗
(payload: schemas.ParsePayload<T>)

Source from the content-addressed store, hash-verified

22 /** The set of issues this check might throw. */
23 issc?: errors.$ZodIssueBase;
24 check(payload: schemas.ParsePayload<T>): util.MaybeAsync<void>;
25 onattach: ((schema: schemas.$ZodType) => void)[];
26}
27

Callers 2

runChecksFunction · 0.65
extend.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected