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

Method size

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

Source from the content-addressed store, hash-verified

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) => {
1791 core.$ZodMap.init(inst, def);

Callers 3

set.test.tsFile · 0.65
map.test.tsFile · 0.65
set.test.tsFile · 0.65

Implementers 1

ZodSetpackages/zod/src/v3/types.ts

Calls

no outgoing calls

Tested by

no test coverage detected