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

Function nonnegative

packages/zod/src/v4/classic/schemas.ts:1033–1035  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

1031 return this.check(checks.gt(0, params));
1032 },
1033 nonnegative(params) {
1034 return this.check(checks.gte(0, params));
1035 },
1036 negative(params) {
1037 return this.check(checks.lt(0, params));
1038 },

Callers

nothing calls this directly

Calls 2

checkMethod · 0.65
gteMethod · 0.65

Tested by

no test coverage detected