Skip to content

Generates a random number within a minimum and a maximum

Notifications You must be signed in to change notification settings

rojo2/random-within

Repository files navigation

Random Within

Travis CI

import randomBetween from "@rojo2/random-within";

const randomValue = randomBetween(Math.random, 2, 3); // random value between 2 and 3

Made with ❤️ by ROJO 2 (http://rojo2.com)

About

Generates a random number within a minimum and a maximum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published