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

Function nextRange

packages/effect/src/internal/defaultServices.ts:125–126  ·  view source on GitHub ↗
(min: number, max: number)

Source from the content-addressed store, hash-verified

123
124/** @internal */
125export const nextRange = (min: number, max: number): Effect.Effect<number> =>
126 randomWith((random) => random.nextRange(min, max))
127
128/** @internal */
129export const nextIntBetween = (min: number, max: number): Effect.Effect<number> =>

Callers

nothing calls this directly

Calls 2

randomWithFunction · 0.85
nextRangeMethod · 0.65

Tested by

no test coverage detected