Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxBittker/rs-sdk
/ next
Function
next
server/engine/src/util/JavaRandom.ts:54–56 ·
view source on GitHub ↗
(bits: number)
Source
from the content-addressed store, hash-verified
52
}
53
54
function
next(bits: number) {
55
return
_next() >>> (32 - bits);
56
}
57
58
function
checkIsPositiveInt(n: number, r = Number.MAX_SAFE_INTEGER) {
59
if
(n < 0 || n > r) {
Callers
4
nextInt
Method · 0.70
nextBoolean
Method · 0.70
nextFloat
Method · 0.70
nextDouble
Method · 0.70
Calls
1
_next
Function · 0.70
Tested by
no test coverage detected