random.number() - shysolocup/stews GitHub Wiki

chooses a random number inbetween two numbers
type: Function

alt names:

  • randint()
  • int()

arguments:

  • min Number
    minimum number that it can get
  • max Number
    maximum number that it can get

const { random } = require('stews');

console.log(random.number(1, 5));
4


⚠️ **GitHub.com Fallback** ⚠️