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

6 lines
329 B
JavaScript

// Metro module 5619 (f5620).
module.exports = function isArrayish(a0) {
const r1 = a0 ? typeof a0 === "string" : !a0;
return r1 ? !r1 : a0 instanceof Array || Array.isArray(a0) || a0.length >= 0 && (a0.splice instanceof Function || Object.getOwnPropertyDescriptor(a0, a0.length - 1) && a0.constructor.name !== "String");
};