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

Method lt

packages/zod/src/v3/types.ts:1478–1480  ·  view source on GitHub ↗
(value: number, message?: errorUtil.ErrMessage)

Source from the content-addressed store, hash-verified

1476 max = this.lte;
1477
1478 lt(value: number, message?: errorUtil.ErrMessage) {
1479 return this.setLimit("max", value, false, errorUtil.toString(message));
1480 }
1481
1482 protected setLimit(kind: "min" | "max", value: number, inclusive: boolean, message?: string) {
1483 return new ZodNumber({

Callers

nothing calls this directly

Calls 2

setLimitMethod · 0.95
toStringMethod · 0.80

Tested by

no test coverage detected