@rcompat/is 0.1.2 → 0.1.4

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.
@@ -0,0 +1,3 @@
1
+ import type Dict from "@rcompat/type/Dict";
2
+ export default function isDict(x: unknown): x is Dict;
3
+ //# sourceMappingURL=dict.d.ts.map
@@ -0,0 +1,8 @@
1
+ export default function isDict(x) {
2
+ if (typeof x !== "object" || x === null) {
3
+ return false;
4
+ }
5
+ const prototype = Object.getPrototypeOf(x);
6
+ return prototype === Object.prototype || prototype === null;
7
+ }
8
+ //# sourceMappingURL=dict.js.map
@@ -0,0 +1,2 @@
1
+ export { default } from "#dict";
2
+ //# sourceMappingURL=dict.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { default } from "#dict";
2
+ //# sourceMappingURL=dict.js.map
@@ -0,0 +1,2 @@
1
+ export { default } from "#primitive";
2
+ //# sourceMappingURL=primitive.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { default } from "#primitive";
2
+ //# sourceMappingURL=primitive.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rcompat/is",
3
- "version": "0.1.2",
4
- "description": "Standard library value qualifying",
3
+ "version": "0.1.4",
4
+ "description": "Standard library value checks",
5
5
  "bugs": "https://github.com/rcompat/rcompat/issues",
6
6
  "license": "MIT",
7
7
  "files": [