diginext-utils
Version:
README.md
15 lines • 468 B
TypeScript
/**
* Generates a random integer between min and max (inclusive).
*
* @param min - The minimum value (inclusive)
* @param max - The maximum value (inclusive)
* @returns A random integer between min and max
*
* @example
* ```ts
* randomInt(1, 10); // Random integer between 1 and 10
* randomInt(0, 100); // Random integer between 0 and 100
* ```
*/
export declare function randomInt(min: number, max: number): number;
//# sourceMappingURL=randomInt.d.ts.map