fourdollar.isinteger
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,12 +1,10 @@ | ||
"use strict"; | ||
/** | ||
* isInteger | ||
*/ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isInteger(value) { | ||
return /^[-+\d]\d*$/.test(value); | ||
return /^[-+]?\d+$/.test(value); | ||
} | ||
exports.isInteger = isInteger; | ||
exports.default = isInteger; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fourdollar.isinteger", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "index.js", | ||
"typings": "index.d.ts", | ||
"author": { | ||
@@ -6,0 +7,0 @@ "name": "bynaki", |
@@ -9,3 +9,3 @@ # fourdollar.isinteger | ||
```bash | ||
$ npm install --save fourdollar.isinteger | ||
$ yarn add fourdollar.isinteger | ||
``` | ||
@@ -12,0 +12,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1000
4
15