Solución
solution.tsTypeScript
function atLeastOneTrue(firstValue: boolean, secondValue: boolean): boolean {
if (firstValue || secondValue) {
return true;
}
return false;
}
// No modificar: necesario para evaluar el resultado.
export { atLeastOneTrue };0respuestas