Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ bigint
Method
bigint
packages/zod/src/v3/tests/Mocker.ts:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
return
Math.random() * 100;
17
}
18
get bigint(): bigint {
19
return
BigInt(Math.floor(Math.random() * 10000));
20
}
21
get boolean(): boolean {
22
return
Math.random() < 0.5;
23
}
Callers
15
primitive.test.ts
File · 0.80
bigint.test.ts
File · 0.80
readonly.test.ts
File · 0.80
coerce.test.ts
File · 0.80
async-parsing.test.ts
File · 0.80
index.test.ts
File · 0.80
primitive.test.ts
File · 0.80
bigint.test.ts
File · 0.80
to-json-schema-methods.test.ts
File · 0.80
readonly.test.ts
File · 0.80
assignability.test.ts
File · 0.80
coerce.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
2
stringToBigInt
Function · 0.64
numberToBigInt
Function · 0.64