Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/devops/deps.ts>dtils.randomNumber

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

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

Parameters

min: number
max: number

Returns

number