Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/math/rand.ts>randomInt

Deno Standard Extensions
Latest
function randomInt
import { randomInt } from "https://deno.land/x/yxz@0.32.0/math/rand.ts";

Returns a random integer N such that a <= N <= b.

Parameters

a: number
b: number