@unction/range
TypeScript icon, indicating that this package has built-in type declarations

2.13.0 • Public • Published

@unction/range

Tests Stability Dependencies

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

Readme

Keywords

Package Sidebar

Install

npm i @unction/range

Weekly Downloads

0

Version

2.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

17.8 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene