decord/source/modules/activities/utils/isPartyFull.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

22 lines
508 B
TypeScript

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