18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
// Module ID: 606
|
|
// Function ID: 607
|
|
// Name: isObject
|
|
// Dependencies: []
|
|
|
|
// Module 606 (isObject)
|
|
|
|
export default function isObject(obj) {
|
|
let tmp = null != obj;
|
|
if (tmp) {
|
|
let tmp2 = typeof obj === "object";
|
|
if (typeof obj !== "object") {
|
|
tmp2 = typeof obj === "function";
|
|
}
|
|
tmp = tmp2;
|
|
}
|
|
return tmp;
|
|
};
|