beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

IfFalseThen Op



IfFalseThen
Namespace: Ops.Boolean

Op author: pandur

Triggers if input value is `false`


Basically the same as Ops.Boolean.IfTrueThen, the only difference is that the output ports are switched.

You can also input non-boolean values, 0, 0.0, '' (empty string) will all evaluate to false. On the contrary 1.234, '5' or 'lalala' will evaluate to true.

You can use it in two ways: If Exe is connected Then / Else will be triggered every time Exe is triggered. If Exe is not connection Then / Else will be triggered every time Boolean changes. This way you can convert a bool to a trigger (function).



Inputs

Exe (Trigger)

Executes the op

Boolean (boolean /Number)

The boolean value to check for falsiness

Outputs

then (Trigger)

Triggers when the input value is false

else (Trigger)

Triggers when the input value is true

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using IfFalseThen

  • Examples
  • My Patches
  • Public