decord/beta/source/modules/activities/utils/getIsInParty.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

33 lines
823 B
TypeScript

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