decord/source/modules/activities/utils/isPartyFull.tsx
2026-08-24 06:08:38 +00:00

22 lines
508 B
TypeScript

// Module ID: 10959
// Function ID: 10960
// Name: isPartyFull
// Dependencies: [2]
// Exports: isPartyFull
// Module 10959 (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;
};