Files
discord-decomp/_bundle/isArguments_4461.js
T
2026-11-01 12:12:55 +02:00

17 lines
512 B
JavaScript

// Metro module 4461 (f4462).
const toString = Object.prototype.toString;
module.exports = function isArguments(a0) {
const call = toString.call;
const r7 = toString.call(a0);
let r2 = r7 === "[object Arguments]";
if (!r2) {
let r1 = r7 !== "[object Array]" && a0 !== null && typeof a0 === "object" && typeof a0.length === "number" && a0.length >= 0;
if (r1) {
const call2 = toString.call;
r1 = toString.call(a0.callee) === "[object Function]";
}
r2 = r1;
}
return r2;
};