UNPKG

@augment-vir/common

Version:

A collection of augments, helpers types, functions, and classes for any JavaScript environment.

15 lines (14 loc) 453 B
/** * Creates a random integer (no decimal points are included) between the given min and max values * (inclusive). * * This function uses cryptographically secure randomness. * * @category Random * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare function randomInteger({ min: rawMin, max: rawMax }: { min: number; max: number; }): number;