@rcompat/is 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- export default function isInteger(x: unknown): x is number | bigint;
1
+ export default function isInteger(x: unknown): x is number;
2
2
  //# sourceMappingURL=integer.d.ts.map
@@ -1,10 +1,6 @@
1
1
  export default function isInteger(x) {
2
- if (typeof x === "bigint") {
3
- return true;
4
- }
5
- if (typeof x === "number") {
2
+ if (typeof x === "number")
6
3
  return Number.isInteger(x);
7
- }
8
4
  return false;
9
5
  }
10
6
  //# sourceMappingURL=integer.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcompat/is",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Standard library value qualifying",
5
5
  "bugs": "https://github.com/rcompat/rcompat/issues",
6
6
  "license": "MIT",