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

Method negative

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

Source from the content-addressed store, hash-verified

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;
981 /** @deprecated Use `.multipleOf()` instead. */

Callers 8

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