is-n
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

is-n

CircleCI NPM Downloads node License MIT

check if input is a number

Highlights

  • Written in Typescript

Usage

check if input is a number

 
  import isN from 'is-n';
 
  isN(-0); // true
  isN(NaN); //false
  isN(5/2); //true
 

License

MIT © Nivrith

/is-n/

    Package Sidebar

    Install

    npm i is-n

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    156 kB

    Total Files

    10

    Last publish

    Collaborators

    • nivrith