Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function randomInt
Re-export
import { randomInt } from "https://deno.land/std@0.177.0/node/internal/crypto/random.ts";

Parameters

max: number

Returns

number

Parameters

min: number
max: number

Returns

number

Parameters

max: number
cb: (err: Error | null, n?: number) => void

Parameters

min: number
max: number
cb: (err: Error | null, n?: number) => void