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
13 lines
453 B
Plaintext
13 lines
453 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const getType = require("./getType.js");
|
|
const isObject = require("./isObject.js");
|
|
function isPlainObject(value) {
|
|
if (!isObject.isObject(value) || getType.getType(value) !== "Object") {
|
|
return false;
|
|
}
|
|
const prototype = Object.getPrototypeOf(value);
|
|
return prototype === null || prototype === Object.prototype;
|
|
}
|
|
exports.isPlainObject = isPlainObject;
|