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

23 lines
542 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 10898
2026-07-21 22:01:30 +00:00
// Function ID: 84718
2026-07-20 16:05:17 +00:00
// Name: isPartyFull
2026-07-21 22:01:30 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Exports: isPartyFull
2026-07-21 06:55:02 +00:00
// Module 10898 (isPartyFull)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("modules/activities/utils/isPartyFull.tsx");
export const isPartyFull = function isPartyFull(partySize) {
let maxPartySize;
({ partySize, maxPartySize } = partySize);
let tmp = partySize > -1;
if (tmp) {
tmp = maxPartySize > 0;
}
if (tmp) {
tmp = partySize >= maxPartySize;
}
return tmp;
};