decord/alpha/source/modules/activities/utils/isPartyFull.tsx
github-actions 52331fb8ae chore: update source for alpha 349.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
2026-09-30 07:29:52 +00:00

22 lines
515 B
TypeScript

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