0.2.6 • Published 10 months ago

is-integeric v0.2.6

Weekly downloads
24
License
MIT
Repository
github
Last release
10 months ago

is-integeric

npm npm bundle size CircleCI NPM Badges

Lightweight, simple test to see if an input is an integer or can be converted to one.

import isIntegeric from 'is-integeric';

console.log(isIntegeric(5));      // true
console.log(isIntegeric('5'));    // true
console.log(isIntegeric('5.5'));  // true, because it can be floored
console.log(isIntegeric('five')); // false
0.2.6

10 months ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

4 years ago

0.2.2

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago