()
| 10 | export const Random: Context.Reference<Random> = Context.Reference<Random>("effect/Random", { |
| 11 | defaultValue: () => ({ |
| 12 | nextIntUnsafe() { |
| 13 | return Math.floor(Math.random() * (Number.MAX_SAFE_INTEGER - Number.MIN_SAFE_INTEGER + 1)) + |
| 14 | Number.MIN_SAFE_INTEGER |
| 15 | }, |
| 16 | nextDoubleUnsafe() { |
| 17 | return Math.random() |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected