Files
SnowLuma/.pnpm-store/v11/files/6c/a9cc125d2fa590b6b1aaa5669920dc0f7a43b859ddcb269b80033227fcc155029c92385ed16f5d72ab134677e756200ceeb8c31c18552271f1430dc3acd28e
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +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
};