Files
NapCatQQ/.pnpm-store/v3/files/3a/0b79edb5987f40752a3b150e7785a33b62afe6d05dc6f0ebcd659e6ce02c40dca6e2df136c89e1d75ca6d3923a2491adeaefdf473f756ade0ad8f43f88bcb2
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

9 lines
262 B
Plaintext

export default function isPlainObject(value) {
if (Object.prototype.toString.call(value) !== '[object Object]') {
return false
}
const prototype = Object.getPrototypeOf(value)
return prototype === null || Object.getPrototypeOf(prototype) === null
}