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

Function length

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

Source from the content-addressed store, hash-verified

424 return this.check((checks.maxLength as any)(...args));
425 },
426 length(...args) {
427 return this.check((checks.length as any)(...args));
428 },
429 nonempty(...args) {
430 return this.check((checks.minLength as any)(1, ...args));
431 },

Callers

nothing calls this directly

Calls 2

checkMethod · 0.65
lengthMethod · 0.65

Tested by

no test coverage detected