decord/source/modules/activities/utils/getIsInParty.tsx

32 lines
795 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 10888
// Function ID: 84566
2026-07-20 16:05:17 +00:00
// Name: getIsInParty
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: getIsInParty
2026-07-27 11:26:19 +00:00
// Module 10888 (getIsInParty)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/activities/utils/getIsInParty.tsx");
2026-07-20 16:05:17 +00:00
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;
};