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

23 lines
515 B
TypeScript
Raw Normal View History

// Module ID: 11470
// Function ID: 11471
2026-07-20 16:05:17 +00:00
// Name: isPartyFull
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: isPartyFull
// Module 11470 (isPartyFull)
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
2026-07-20 16:05:17 +00:00
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;
};