decord/source/modules/activities/utils/getIsInParty.tsx
2026-07-22 07:54:56 +00:00

32 lines
830 B
TypeScript

// Module ID: 10900
// Function ID: 84733
// Name: getIsInParty
// Dependencies: []
// Exports: getIsInParty
// Module 10900 (getIsInParty)
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("modules/activities/utils/getIsInParty.tsx");
export const getIsInParty = function getIsInParty(tmp8Result, activity) {
let id;
if (null != activity) {
const party = activity.party;
if (null != party) {
id = party.id;
}
}
let tmp2 = null != id;
if (tmp2) {
let id1;
if (null != tmp8Result) {
const party2 = tmp8Result.party;
if (null != party2) {
id1 = party2.id;
}
}
tmp2 = null != id1 && tmp8Result.party.id === activity.party.id;
const tmp4 = null != id1 && tmp8Result.party.id === activity.party.id;
}
return tmp2;
};