1 | ;
|
2 | Object.defineProperty(exports, "__esModule", {
|
3 | value: true
|
4 | });
|
5 | Object.defineProperty(exports, "default", {
|
6 | enumerable: true,
|
7 | get: ()=>isPlainObject
|
8 | });
|
9 | function isPlainObject(value) {
|
10 | if (Object.prototype.toString.call(value) !== "[object Object]") {
|
11 | return false;
|
12 | }
|
13 | const prototype = Object.getPrototypeOf(value);
|
14 | return prototype === null || prototype === Object.prototype;
|
15 | }
|