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

23 lines
508 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10959
// Function ID: 10960
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
2026-08-24 06:08:38 +00:00
// Module 10959 (isPartyFull)
import set from "set" /* 2 */;
const result = set.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;
};