MCPcopy
hub / github.com/Effect-TS/effect / nextRange

Method nextRange

packages/effect/src/Random.ts:47–47  ·  view source on GitHub ↗

* Returns the next numeric value in the specified range from the * pseudo-random number generator.

(min: number, max: number)

Source from the content-addressed store, hash-verified

45 * pseudo-random number generator.
46 */
47 nextRange(min: number, max: number): Effect.Effect<number>
48 /**
49 * Returns the next integer value in the specified range from the
50 * pseudo-random number generator.

Callers 5

TRandom.test.tsFile · 0.65
Random.test.tsFile · 0.65
nextRangeFunction · 0.65
nextRangeFunction · 0.65
metrics.tsFile · 0.65

Implementers 3

RandomImplpackages/effect/src/internal/random.ts
FixedRandomImplpackages/effect/src/internal/random.ts
TRandomImplpackages/effect/src/internal/stm/tRand

Calls

no outgoing calls

Tested by

no test coverage detected