decord/source/modules/activities/utils/isPartyFull.tsx
2026-08-05 07:35:12 +00:00

21 lines
507 B
TypeScript

// Module ID: 11042
// Function ID: 11043
// Name: isPartyFull
// Dependencies: [2]
// Exports: isPartyFull
// Module 11042 (isPartyFull)
const result = require("set").fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
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;
};