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

Method max

packages/zod/src/v4/classic/schemas.ts:1787–1787  ·  view source on GitHub ↗
(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams)

Source from the content-addressed store, hash-verified

1785 min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
1786 nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
1787 max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
1788 size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
1789}
1790export const ZodMap: core.$constructor<ZodMap> = /*@__PURE__*/ core.$constructor("ZodMap", (inst, def) => {

Callers 15

example.tsFile · 0.65
sizeMethod · 0.65
string.test.tsFile · 0.65
date.test.tsFile · 0.65
error.test.tsFile · 0.65
bigint.test.tsFile · 0.65
set.test.tsFile · 0.65
number.test.tsFile · 0.65
array.test.tsFile · 0.65
primitives.tsFile · 0.65
convertBaseSchemaFunction · 0.65

Implementers 1

ZodSetpackages/zod/src/v3/types.ts

Calls

no outgoing calls

Tested by 1

setCommonNumberChecksFunction · 0.52