@bytebury/sauce - v2.2.0
    Preparing search index...

    Function rand

    • Gives a random number in the given range. The first parameter is inclusive and the second one is exclusive. Therefore, it will work with lists out of the box.

      Parameters

      • start: number
      • end: number

      Returns number

      rand(0, 10); // 0 -> 9
      rand(3, 7); // 3 -> 6