decord/source/modules/activities/utils/isPartyFull.tsx
2026-08-07 06:50:47 +00:00

21 lines
507 B
TypeScript

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