2.1.15 • Published 28 days ago

@kollorg/commodi-reprehenderit-ratione v2.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

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 @kollorg/commodi-reprehenderit-ratione

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

2.1.15

28 days ago

2.1.14

29 days ago

2.1.12

1 month ago

2.1.13

30 days ago

2.1.11

1 month ago

2.1.10

1 month ago

2.1.9

1 month ago

2.1.8

1 month ago

2.1.7

1 month ago

2.1.6

1 month ago

2.1.5

1 month ago

1.1.5

1 month ago

1.0.5

1 month ago

1.0.4

1 month ago

1.0.2

1 month ago

1.0.3

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago