0
I dont understand : (!( the not logical operator, please help
1 Odpowiedź
+ 7
Apply ! to a condition, and it flips the result inside from true to false / false to true.
Ex: !(5 > 7) would evaluate to true. 5 > 7 is false, so you get !(false), and "not false" is true.
It makes more sense when combined with == so you get != (not equal to). Using ! on its own is rare.