@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
10 lines (9 loc) • 304 B
JavaScript
//#region src/utils/number.ts
/** Returns a random integer within the provided range. Default: 0 - 1000000 */
function random(start = 0, end = 1e6) {
return Math.floor(Math.random() * end) + start;
}
//#endregion
export { random };
globalThis.__vuiVersion__ = "5.3.1"
//# sourceMappingURL=number.js.map