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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i is-n

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

156 kB

Total Files

10

Last publish

Collaborators

  • nivrith