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

22 lines
507 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 10887
// Function ID: 84564
2026-07-20 16:05:17 +00:00
// Name: isPartyFull
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: isPartyFull
2026-07-27 11:26:19 +00:00
// Module 10887 (isPartyFull)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
2026-07-20 16:05:17 +00:00
export const isPartyFull = function isPartyFull(partySize) {
let maxPartySize;
({ partySize, maxPartySize } = partySize);
let tmp = partySize > -1;
if (tmp) {
tmp = maxPartySize > 0;
}
if (tmp) {
tmp = partySize >= maxPartySize;
}
return tmp;
};