Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

integer

import { integer } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/randomjs/mod.ts";

Returns a Distribution to return a value within [min, max]

function integer(min: number, max: number): Distribution;
§
integer(min: number, max: number): Distribution
[src]

§Parameters

§
min: number
[src]

The minimum integer value, inclusive. No less than -0x20000000000000.

§
max: number
[src]

The maximum integer value, inclusive. No greater than 0x20000000000000.