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

Method nextIntBetween

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

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

(min: number, max: number)

Source from the content-addressed store, hash-verified

50 * pseudo-random number generator.
51 */
52 nextIntBetween(min: number, max: number): Effect.Effect<number>
53 /**
54 * Uses the pseudo-random number generator to shuffle the specified iterable.
55 */

Callers 11

subscriberFunction · 0.65
subscriberFunction · 0.65
KeyedPool.test.tsFile · 0.65
Random.test.tsFile · 0.65
racing.test.tsFile · 0.65
zipping.test.tsFile · 0.65
randomNumberFunction · 0.65
nextIntBetweenFunction · 0.65
choiceFunction · 0.65
nextIntBetweenFunction · 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 3

subscriberFunction · 0.52
subscriberFunction · 0.52
randomNumberFunction · 0.52