decord/source/modules/activities/utils/isPartyFull.tsx
2026-08-15 05:55:55 +00:00

21 lines
507 B
TypeScript

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