MCPcopy Index your code
hub / github.com/Effect-TS/effect / nextIntBetween

Function nextIntBetween

packages/effect/src/internal/stm/tRandom.ts:131–132  ·  view source on GitHub ↗
(low: number, high: number)

Source from the content-addressed store, hash-verified

129
130/** @internal */
131export const nextIntBetween = (low: number, high: number): STM.STM<number, never, TRandom.TRandom> =>
132 core.flatMap(Tag, (random) => random.nextIntBetween(low, high))
133
134/** @internal */
135export const nextRange = (min: number, max: number): STM.STM<number, never, TRandom.TRandom> =>

Callers

nothing calls this directly

Calls 1

nextIntBetweenMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…