effect-io-ai

Package: effect
Module: TRandom

TRandom.nextIntBetween

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

Signature

declare const nextIntBetween: (low: number, high: number) => STM.STM<number, never, TRandom>

Source

Since v2.0.0