2.0.0 • Published 4 years ago

number-is-integer v2.0.0

Weekly downloads
94,982
License
MIT
Repository
github
Last release
4 years ago

number-is-integer

ES2015 Number.isInteger() ponyfill

Install

$ npm install number-is-integer

Usage

const numberIsInteger = require('number-is-integer');

numberIsInteger(1);
//=> true

numberIsInteger(1.5);
//=> false

Related