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

1.0.0 • Public • Published

is-32

CircleCI NPM Downloads node License MIT

check if a number is a 32 bit integer

Highlights

  • Written in Typescript

Usage

check if a number is a 32 bit integer

 
  import is32 from 'is-32';
 
  is32(2147483647); //true
  is32(-2147483648); //true
  is32(Number.MAX_SAFE_INTEGER); //false
  is32(10); //true
  is32(-0); //true
 

License

MIT © Nivrith

Readme

Keywords

Package Sidebar

Install

npm i is-32

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

157 kB

Total Files

10

Last publish

Collaborators

  • nivrith