is-bounded-number

1.2.8 • Public • Published

is-bounded-number

npm versionBuild status

Checks that a number is numeric, finite, and within a specific range (default is +/- 1e15). Find module on npm and code repo with examples on GitHub.

API

var ibn = require('is-bounded-number');
ibn(input);          // Returns boolean. Checks input numeric and bounded by +/- 1e15
ibn(input, bound);   // Returns boolean

Use npm i is-bounded-number to install. For full examples see GitHub examples directory.

/is-bounded-number/

    Package Sidebar

    Install

    npm i is-bounded-number

    Weekly Downloads

    578

    Version

    1.2.8

    License

    ISC

    Unpacked Size

    2.29 kB

    Total Files

    3

    Last publish

    Collaborators

    • davidryan