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

34 lines
816 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 11317
// Function ID: 11318
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-08-25 06:04:03 +00:00
// Module 11317 (getIsInParty)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/activities/utils/getIsInParty.tsx");
2026-07-20 16:05:17 +00:00
export const getIsInParty = function getIsInParty(tmp8Result, activity) {
let id;
2026-07-29 08:29:29 +00:00
if (activity != null) {
2026-07-20 16:05:17 +00:00
const party = activity.party;
2026-07-29 08:29:29 +00:00
if (party != null) {
2026-07-20 16:05:17 +00:00
id = party.id;
}
}
let tmp2 = null != id;
if (tmp2) {
let id1;
2026-07-29 08:29:29 +00:00
if (tmp8Result != null) {
2026-07-20 16:05:17 +00:00
const party2 = tmp8Result.party;
2026-07-29 08:29:29 +00:00
if (party2 != null) {
2026-07-20 16:05:17 +00:00
id1 = party2.id;
}
}
tmp2 = null != id1 && tmp8Result.party.id === activity.party.id;
2026-07-29 08:29:29 +00:00
const tmp5 = null != id1 && tmp8Result.party.id === activity.party.id;
2026-07-20 16:05:17 +00:00
}
return tmp2;
};