UNPKG

com-tools

Version:

com-tools 提供了一些通用的工具函数;

9 lines 290 B
/** * 在指定范围内生成随机数。 * * @param min - 最小值(包含) * @param max - 最大值(不包含) * @returns `[min, max)` 范围内的随机浮点数 */ export declare function randomInRange(min: number, max: number): number; //# sourceMappingURL=math.d.ts.map