mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-10 03:52:57 +00:00
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
import {
|
|
require_getPrototype
|
|
} from "./chunk-DVI47R6F.js";
|
|
import {
|
|
require_isObjectLike
|
|
} from "./chunk-JUFWCB3J.js";
|
|
import {
|
|
require_baseGetTag
|
|
} from "./chunk-PMQZHR4Z.js";
|
|
import {
|
|
__commonJS
|
|
} from "./chunk-USJHI7ER.js";
|
|
|
|
// node_modules/lodash/isPlainObject.js
|
|
var require_isPlainObject = __commonJS({
|
|
"node_modules/lodash/isPlainObject.js"(exports, module) {
|
|
var baseGetTag = require_baseGetTag();
|
|
var getPrototype = require_getPrototype();
|
|
var isObjectLike = require_isObjectLike();
|
|
var objectTag = "[object Object]";
|
|
var funcProto = Function.prototype;
|
|
var objectProto = Object.prototype;
|
|
var funcToString = funcProto.toString;
|
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
var objectCtorString = funcToString.call(Object);
|
|
function isPlainObject(value) {
|
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
return false;
|
|
}
|
|
var proto = getPrototype(value);
|
|
if (proto === null) {
|
|
return true;
|
|
}
|
|
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
}
|
|
module.exports = isPlainObject;
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_isPlainObject
|
|
};
|
|
//# sourceMappingURL=chunk-K2KEVPJL.js.map
|