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