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

Method boolean

packages/zod/src/v3/tests/Mocker.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 return BigInt(Math.floor(Math.random() * 10000));
20 }
21 get boolean(): boolean {
22 return Math.random() < 0.5;
23 }
24 get date(): Date {
25 return new Date(Math.floor(Date.now() * Math.random()));
26 }

Callers 15

index.tsFile · 0.80
zod-mini-full.tsFile · 0.80
zod3-full.tsFile · 0.80
zod3-object.tsFile · 0.80
valibot-boolean.tsFile · 0.80
zod-full.tsFile · 0.80
zod-object.tsFile · 0.80
valibot-object.tsFile · 0.80
zod-boolean.tsFile · 0.80
zod-mini-object.tsFile · 0.80
zod3-boolean.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected