decord/source/4418_isArguments.js

37 lines
820 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 4418
// Function ID: 4419
2026-08-13 07:00:46 +00:00
// Name: isArguments
// Dependencies: []
2026-08-15 05:55:55 +00:00
// Module 4418 (isArguments)
2026-08-13 07:00:46 +00:00
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;
};