Files
knaeckeboot-eu/themes/bluewater/node_modules/tailwindcss/lib/util/isPlainObject.js
T
Konstantin Kollar 8529ee86e4 Initial commit
2022-10-03 21:13:35 +02:00

16 lines
428 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: ()=>isPlainObject
});
function isPlainObject(value) {
if (Object.prototype.toString.call(value) !== "[object Object]") {
return false;
}
const prototype = Object.getPrototypeOf(value);
return prototype === null || prototype === Object.prototype;
}