decord/beta/source/modules/activities/utils/isPartyFull.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

22 lines
515 B
TypeScript

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