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

x/dtils/mod.ts>randomNumber

The best unofficial library of utilities for Deno applications
Go to Latest
function randomNumber
import { randomNumber } from "https://deno.land/x/dtils@2.5.0/mod.ts";

Returns a random number between min and max (both included)

Parameters

min: number
max: number

Returns

number