Skip to main content

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.

Example

toggle(#isVisible)
Returns false if isVisible is true, or true if isVisible is false.
I