Small problem with operator ||

 

Hello to everyone, i would need to use this operator || Between functions but I give you an error: 'if' - expression of 'void' type is illegal.

if( myFunction1() || myFunction2() ){
  
    myFunction3();
} 
 
Ok sorry guys, I solved changing my function from void to bool
Reason: