Files
discord-decomp/modules/guild_sidebar/ChannelListUtils.tsx
T
2026-11-01 12:12:55 +02:00

20 lines
375 B
TypeScript

// Metro module 4373 (f4374).
export function hasStream(a0) {
if (a0 == null) {
return false;
}
const length = a0.length;
let r0 = 0;
if (0 < length) {
do {
const selfStream = a0[r0].voiceState.selfStream;
const r1 = r0;
if (selfStream) {
return true;
}
r0 = r1 + 1;
} while (r0 < a0.length);
}
return false;
}