decord/source/modules/activities/utils/isPartyFull.tsx
2026-08-13 17:34:28 +00:00

21 lines
507 B
TypeScript

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