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

File Random.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Provides pseudo-random generation through an Effect service.
3 *
4 * This module exposes effectful generators for booleans, doubles, safe

Callers

nothing calls this directly

Calls 5

randomWithFunction · 0.85
ISAAC_CSPRNGFunction · 0.85
nextDoubleUnsafeMethod · 0.65
nextIntUnsafeMethod · 0.65
failMethod · 0.45

Tested by

no test coverage detected