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

22 lines
507 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 11042
// Function ID: 11043
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-08-05 07:35:12 +00:00
// Module 11042 (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;
};