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

Function refine

packages/zod/src/v4/classic/schemas.ts:283–285  ·  view source on GitHub ↗
(check, params)

Source from the content-addressed store, hash-verified

281 return this;
282 },
283 refine(check, params) {
284 return this.check(refine(check, params));
285 },
286 superRefine(refinement, params) {
287 return this.check(superRefine(refinement, params));
288 },

Callers 1

Calls 1

checkMethod · 0.65

Tested by

no test coverage detected