[Solved] if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?

[ad_1]

if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?

[ad_2]

solved if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?