decord/source/4403_isArguments.js
2026-07-24 07:16:23 +00:00

31 lines
684 B
JavaScript

// Module ID: 4403
// Function ID: 38865
// Name: isArguments
// Dependencies: []
// Module 4403 (isArguments)
export default function isArguments(callee) {
const callResult = toString.call(callee);
let tmp2 = "[object Arguments]" === callResult;
if (!tmp2) {
let tmp3 = "[object Array]" !== callResult;
if (tmp3) {
tmp3 = null !== callee;
}
if (tmp3) {
tmp3 = "object" === typeof callee;
}
if (tmp3) {
tmp3 = "number" === typeof callee.length;
}
if (tmp3) {
tmp3 = callee.length >= 0;
}
if (tmp3) {
tmp3 = "[object Function]" === toString.call(callee.callee);
}
tmp2 = tmp3;
}
return tmp2;
};