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

Method lte

packages/zod/src/v4/classic/schemas.ts:970–970  ·  view source on GitHub ↗

Identical to .max()

(value: number, params?: string | core.$ZodCheckLessThanParams)

Source from the content-addressed store, hash-verified

968 lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;
969 /** Identical to .max() */
970 lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;
971 max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
972 /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
973 int(params?: string | core.$ZodCheckNumberFormatParams): this;

Callers 13

bigint.test.tsFile · 0.65
number.test.tsFile · 0.65
lteFunction · 0.65
maxFunction · 0.65
nonpositiveFunction · 0.65
schemas.tsFile · 0.65
bigint.test.tsFile · 0.65
number.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected