I saw that putting boolean=!boolean is supposed to toggle a boolean variable, but it's not working for something like object.boolean=!object.boolean. How can I toggle a boolean?
are you getting an error?
unexpected symbol near '!'
Try using “not”
b = not b
I don’t believe that “!” is implemented
That worked. Thanks for your help.
The ! operator works when used with != in if statements, but not otherwise.
Or should I say... 😎 ... !otherwise.
I'll show myself out.
lmao just kidding, I got a good laugh out of that pun.
[Please log in to post a comment]