@blockchaincommons/rand - v1.0.0-beta.3
    Preparing search index...

    Function nextInRangeI64

    • Random i64 in [start, end): start + random for a random below the range length, drawn as the u64 sampler draws.

      Parameters

      Returns bigint

      unless both are bigints in [-2^63, 2^63 - 1], start < end, and end - start fits i64 (the reference's arithmetic).