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

Method number

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

Source from the content-addressed store, hash-verified

13 return Math.random().toString(36).substring(7);
14 }
15 get number(): number {
16 return Math.random() * 100;
17 }
18 get bigint(): bigint {
19 return BigInt(Math.floor(Math.random() * 10000));
20 }

Callers 15

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

Calls

no outgoing calls

Tested by 3

baseFunction · 0.64
baseFunction · 0.64
stringToNumberFunction · 0.64