decord/source/606_isObject.js

19 lines
339 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 606
// Function ID: 607
// Name: isObject
// Dependencies: []
// Module 606 (isObject)
2026-08-04 21:03:28 +00:00
export default function isObject(obj) {
let tmp = null != obj;
2026-07-29 08:29:29 +00:00
if (tmp) {
2026-08-04 21:03:28 +00:00
let tmp2 = typeof obj === "object";
if (typeof obj !== "object") {
tmp2 = typeof obj === "function";
2026-07-29 08:29:29 +00:00
}
tmp = tmp2;
}
return tmp;
};