random-js
Version:
A mathematically correct random number generator library for JavaScript.
8 lines (7 loc) • 361 B
TypeScript
import { Distribution } from "../types";
/**
* Returns a Distribution to return a value within [min, max]
* @param min The minimum integer value, inclusive. No less than -0x20000000000000.
* @param max The maximum integer value, inclusive. No greater than 0x20000000000000.
*/
export declare function integer(min: number, max: number): Distribution;