decord/source/4556_isArguments.js
2026-08-06 08:05:19 +00:00

36 lines
820 B
JavaScript

// Module ID: 4556
// Function ID: 4557
// Name: isArguments
// Dependencies: []
// Module 4556 (isArguments)
export default function isArguments(obj) {
const call = toString.call;
const tmp2 = typeof call === "unknown" ? toString() : call(obj);
let tmp3 = "[object Arguments]" === tmp2;
if (!tmp3) {
let tmp4 = "[object Array]" !== tmp2;
if (tmp4) {
tmp4 = null !== obj;
}
if (tmp4) {
tmp4 = typeof obj === "object";
}
if (tmp4) {
tmp4 = typeof obj.length === "number";
}
if (tmp4) {
tmp4 = obj.length >= 0;
}
if (!tmp4) {
tmp3 = tmp4;
} else {
const call2 = tmp.call;
let str2 = obj.callee;
str2 = "[object Function]";
const tmp6 = typeof call2 === "unknown" ? tmp() : call2(str2);
}
}
return tmp3;
};