decord/stable/source/modules/activities/utils/isPartyFull.tsx

23 lines
515 B
TypeScript
Raw Normal View History

// Module ID: 11890
// Function ID: 11891
// Name: isPartyFull
// Dependencies: [2]
// Exports: isPartyFull
// Module 11890 (isPartyFull)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
export const isPartyFull = function isPartyFull(partySize) {
({ partySize, maxPartySize } = partySize);
let tmp = partySize > -1;
if (tmp) {
tmp = maxPartySize > 0;
}
if (tmp) {
tmp = partySize >= maxPartySize;
}
return tmp;
};