UNPKG

random-js

Version:

A mathematically correct random number generator library for JavaScript.

7 lines (6 loc) 242 B
import { Distribution } from "../types"; /** * Returns a Distribution to return a value within [1, sideCount] * @param sideCount The number of sides of the die */ export declare function die(sideCount: number): Distribution<number>;