decord/source/1501_isPlainObject.js
2026-08-06 08:05:19 +00:00

21 lines
478 B
JavaScript

// Module ID: 1501
// Function ID: 1502
// Name: isPlainObject
// Dependencies: []
// Module 1501 (isPlainObject)
arg5.isPlainObject = function isPlainObject(obj) {
let tmp = typeof obj === "object";
if (typeof obj === "object") {
tmp = null !== obj;
}
if (tmp) {
const _Object = Object;
const _Object2 = Object;
tmp = Object.getPrototypeOf(obj) === Object.prototype;
}
return tmp;
};
arg5.deepFreeze = function deepFreeze(arg0) {
return arg0;
};