MCPcopy Create free account
hub / github.com/Effect-TS/effect / nextIntUnsafe

Method nextIntUnsafe

packages/effect/src/Crypto.ts:83–83  ·  view source on GitHub ↗

* Generates a random integer in the range Number.MIN_SAFE_INTEGER to * Number.MAX_SAFE_INTEGER (both inclusive).

()

Source from the content-addressed store, hash-verified

81 * Number.MAX_SAFE_INTEGER (both inclusive).
82 */
83 nextIntUnsafe(): number
84
85 /**
86 * Generates a random number in the range 0 (inclusive) to 1 (exclusive).

Callers 2

Crypto.test.tsFile · 0.65
Random.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected