UNPKG

ts-useful

Version:

Functions for animation, color transitions, ecliptic, bezier, decasteljau, curves, three dimensional curves, smooth scrolling, random range, randomItem, mobius index, vectors, physics vectors, and easing.

12 lines 349 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RandomRange = void 0; /** * * @param min number * @param max number * @returns number */ const RandomRange = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min; exports.RandomRange = RandomRange; //# sourceMappingURL=randomrange.js.map