export function getRandomInt()

in src/utils/random.ts [1:6]


export function getRandomInt(min: number, max: number): number {
  const minimum = Math.ceil(min)
  const maximum = Math.floor(max)

  return Math.floor(Math.random() * (maximum - minimum + 1) + minimum)
}