decord/source/modules/activities/utils/isPartyFull.tsx
2026-07-25 08:10:48 +00:00

21 lines
507 B
TypeScript

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