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

Function nonempty

packages/zod/src/v4/classic/schemas.ts:429–431  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

427 return this.check((checks.length as any)(...args));
428 },
429 nonempty(...args) {
430 return this.check((checks.minLength as any)(1, ...args));
431 },
432 lowercase(params) {
433 return this.check(checks.lowercase(params));
434 },

Callers

nothing calls this directly

Calls 2

minLengthMethod · 0.80
checkMethod · 0.65

Tested by

no test coverage detected