Imagine the following piece of code:
if someBool && funcReturningABool() {
// code here...
}
where someBool is a boolean and funcReturningABool returns true or false.
If someBool is equal to false, will the funcReturningABool still be executed?
