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

25 lines
594 B
JavaScript

// Metro module 1703 (f1704).
function $mk102496($env) {
return (a0) => {
const r1 = $env;
if (Array.isArray(a0)) {
a0.forEach($mk102496(r1));
} else {
r1[0].push(a0);
}
};
}
export function flattenArray(a0) {
if (Array.isArray(a0)) {
let env13170;
const r7 = env13170 = {};
const r8 = [];
env13170[0] = r8;
env13170[1] = (a0) => {};
a0.forEach($mk102496(r7));
return r8;
}
return [a0];
}
export const has = (a0, a1) => (typeof a1 !== "function" ? typeof a1 === "object" : typeof a1 === "function") && (a1 != null && a0 in a1);