Files
NapCatQQ/.pnpm-store/v3/files/6c/a9cc125d2fa590b6b1aaa5669920dc0f7a43b859ddcb269b80033227fcc155029c92385ed16f5d72ab134677e756200ceeb8c31c18552271f1430dc3acd28e
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

13 lines
338 B
Plaintext

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
};