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.

8 lines 210 B
/** * * @param min number * @param max number * @returns number */ export const RandomRange = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min; //# sourceMappingURL=randomrange.js.map