decord/source/modules/activities/utils/isPartyFull.tsx
2026-09-03 10:05:34 +00:00

22 lines
505 B
TypeScript

// Module ID: 9466
// Function ID: 9467
// Name: isPartyFull
// Dependencies: [2]
// Exports: isPartyFull
// Module 9466 (isPartyFull)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
export const isPartyFull = function isPartyFull(partySize) {
({ partySize, maxPartySize } = partySize);
let tmp = partySize > -1;
if (tmp) {
tmp = maxPartySize > 0;
}
if (tmp) {
tmp = partySize >= maxPartySize;
}
return tmp;
};