You have a boolean variable and a very very very heavy pure function that also returns a boolean.
The Boolean is set to false.
Plug the simple boolean into the first AND input and the heavy function into the second Input.
Execute the Graph and you’ll notice that the heavy heavy function gets executed.
in this case the Last digit of Pi (lel) will always be calculated, even though it does not have to.
I’m no C++ expert, but I’m sure that && won’t execute anymore functions if one boolean gets false:
if( lightFunction() && heavyFunction())
in this example heavyFunction won’t execute if lightFunction() returns false.
I’d like to have this in blueprints.
The same can be done with OR. Since it will always progress if at least one is true.