Overview
This function returns the inverse of a boolean variable or boolean property. If the input is true, it returns false, and vice versa.
Parameters
toggle(#variable)
Variable
The boolean variable or property to toggle.
For example...
toggle(#isVisible)
Returns false if isVisible is true, or true if isVisible is false.