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

SwitchStringBoolean Op

Ops.String.SwitchStringBoolean


SwitchStringBoolean
Namespace: Ops.String

Op author: pandur

Switch between two strings with a boolean


Define your own strings

Example: true becomes yes and false becomes no



Inputs

Boolean (boolean /Number)

Boolean in true or false / 1 or 0

True (String)

The string to output if boolean evaluates to true

False (String)

The string to output if boolean evaluates to false

Outputs

Result (String)

String output

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using SwitchStringBoolean

Changelog


created op
2019-02-21 - pandur