vending-machine/mobile/node_modules/pure-rand/lib/distribution/uniformInt.d.ts
2026-04-03 06:07:13 +08:00

15 lines
520 B
TypeScript

import { t as RandomGenerator } from "../RandomGenerator-CKZRB3Fu.js";
//#region src/distribution/uniformInt.d.ts
/**
* Uniformly generate random integer values between `from` (included) and `to` (included)
*
* @param rng - Instance of RandomGenerator to extract random values from
* @param from - Lower bound of the range (included)
* @param to - Upper bound of the range (included)
*
* @public
*/
declare function uniformInt(rng: RandomGenerator, from: number, to: number): number;
//#endregion
export { uniformInt };