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

Method positive

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

Source from the content-addressed store, hash-verified

974 /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
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;

Callers 12

index.tsFile · 0.65
bigint.test.tsFile · 0.65
preprocess.test.tsFile · 0.65
number.test.tsFile · 0.65
bigint.test.tsFile · 0.65
preprocess.test.tsFile · 0.65
number.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected