import { getType } from "./getType.mjs"; import { isObject } from "./isObject.mjs"; function isPlainObject(value) { if (!isObject(value) || getType(value) !== "Object") { return false; } const prototype = Object.getPrototypeOf(value); return prototype === null || prototype === Object.prototype; } export { isPlainObject };