So far from I have been searching through the net, the statement always have if and else condition such as a ? b : c. I would like to know whether the if<
a ? b : c
if<
No, you cannot do that. Instead try this:
if(bool1 && bool2) voidFunc1();