@devtea2027/officiis-temporibus-facere-sit

1.1.21 • Public • Published

Number.isInteger Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant Number.isInteger shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Getting started

npm install --save @devtea2027/officiis-temporibus-facere-sit

Usage/Examples

console.log(Number.isInteger(-3)); // true
console.log(Number.isInteger(2 ** 54)); // true
console.log(Number.isInteger(2.3)); // false
console.log(Number.isInteger(Infinity)); // false
console.log(Number.isInteger("7")); // false

Tests

Clone the repo, npm install, and run npm test

Readme

Keywords

Package Sidebar

Install

npm i @devtea2027/officiis-temporibus-facere-sit

Weekly Downloads

388

Version

1.1.21

License

MIT

Unpacked Size

25.1 kB

Total Files

29

Last publish

Collaborators

  • ibforusficrystal