decord/alpha/source/modules/activities/utils/getIsInParty.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

33 lines
823 B
TypeScript

// Module ID: 11244
// Function ID: 11245
// Name: getIsInParty
// Dependencies: [2]
// Exports: getIsInParty
// Module 11244 (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;
};