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

Method nonnegative

packages/zod/src/v4/classic/schemas.ts:977–977  ·  view source on GitHub ↗
(params?: string | core.$ZodCheckGreaterThanParams)

Source from the content-addressed store, hash-verified

975 safe(params?: string | core.$ZodCheckNumberFormatParams): this;
976 positive(params?: string | core.$ZodCheckGreaterThanParams): this;
977 nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
978 negative(params?: string | core.$ZodCheckLessThanParams): this;
979 nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
980 multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;

Callers 7

bigint.test.tsFile · 0.65
number.test.tsFile · 0.65
bigint.test.tsFile · 0.65
number.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected