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

Function nonpositive

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

Source from the content-addressed store, hash-verified

1037 return this.check(checks.lt(0, params));
1038 },
1039 nonpositive(params) {
1040 return this.check(checks.lte(0, params));
1041 },
1042 multipleOf(value, params) {
1043 return this.check(checks.multipleOf(value, params));
1044 },

Callers

nothing calls this directly

Calls 2

checkMethod · 0.65
lteMethod · 0.65

Tested by

no test coverage detected