@unction/range
v2.13.0
Published
Takes a minimum number, a maximum number, and returns a random value from that inclusive range
Downloads
3
Readme
@unction/range
number => number => number
Takes a minimum number, a maximum number, and returns a random value from that inclusive range.
range(1)(2) // Sometimes 1, sometimes 2
range(0)(0) // 0