decord/source/modules/activities/utils/isPartyFull.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

22 lines
508 B
TypeScript

// Module ID: 11757
// Function ID: 11758
// Name: isPartyFull
// Dependencies: [2]
// Exports: isPartyFull
// Module 11757 (isPartyFull)
import set from "set" /* 2 */;
const result = set.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;
};