number-in-range

1.0.5 • Public • Published

number-in-range Build Status

Test if a number is in range

Install

npm install --save number-in-range

Usage

let numberInRange = require('number-in-range')

numberInRange(6, 666) // range = 0..666
// => true

numberInRange(6, 6, 60) // range = 6..60
// => true

numberInRange(6, 3); // range = 0..3
// => true

Readme

Keywords

Package Sidebar

Install

npm i number-in-range

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • karloespiritu