effect-io-ai

Package: effect
Module: Random

Random.nextIntBetween

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

Signature

declare const nextIntBetween: (min: number, max: number) => Effect.Effect<number>

Source

Since v2.0.0