Blockchain Commons Rand TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function rngNextInRange

    • Returns a random value within the specified range [start, end).

      Parameters

      • rng: RandomNumberGenerator

        The random number generator to use

      • start: bigint

        The lower bound (inclusive)

      • end: bigint

        The upper bound (exclusive)

      Returns bigint

      A random value within the bounds of the range