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

Method nonempty

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

Source from the content-addressed store, hash-verified

1784 valueType: Value;
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}

Callers 7

string.test.tsFile · 0.65
set.test.tsFile · 0.65
complex.test.tsFile · 0.65
array.test.tsFile · 0.65
map.test.tsFile · 0.65
set.test.tsFile · 0.65
array.test.tsFile · 0.65

Implementers 1

ZodSetpackages/zod/src/v3/types.ts

Calls

no outgoing calls

Tested by

no test coverage detected