decord/source/4403_isArguments.js

32 lines
684 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 4403
// Function ID: 38864
2026-07-20 16:05:17 +00:00
// Name: isArguments
// Dependencies: []
2026-07-23 10:11:24 +00:00
// Module 4403 (isArguments)
2026-07-20 16:05:17 +00:00
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;
};