UNPKG

press-plus

Version:
14 lines (13 loc) 308 B
export function checkOneTeamEmpty({ teamAId, teamBId }: { teamAId?: string; teamBId?: string; }) { const isAtLeastOneTeamEmpty = (!teamAId || !teamBId || teamAId === '999' || teamBId === '999' || teamAId === 'pending' || teamBId === 'pending' ); return isAtLeastOneTeamEmpty; }