Do you know how to invert the value of myBoolean?

myBoolean = !myBoolean;myBoolean != myBoolean;myBoolean = !true;myBoolean = false;

Swee-heet! We can invert the variable by re-assigning it with a ! sign before it.

Yikes! We can invert the variable by re-assigning it with a ! sign before it.