decord/source/modules/activities/utils/getIsInParty.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

33 lines
823 B
TypeScript

// Module ID: 11900
// Function ID: 11901
// Name: getIsInParty
// Dependencies: [2]
// Exports: getIsInParty
// Module 11900 (getIsInParty)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/activities/utils/getIsInParty.tsx");
export const getIsInParty = function getIsInParty(tmp8Result, activity) {
let id;
if (activity != null) {
const party = activity.party;
if (party != null) {
id = party.id;
}
}
let tmp2 = null != id;
if (tmp2) {
let id1;
if (tmp8Result != null) {
const party2 = tmp8Result.party;
if (party2 != null) {
id1 = party2.id;
}
}
tmp2 = null != id1 && tmp8Result.party.id === activity.party.id;
const tmp5 = null != id1 && tmp8Result.party.id === activity.party.id;
}
return tmp2;
};