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


summary (oneliner)

Define your own strings

Example: true becomes yes and false becomes no



doc

issues

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

Changelog


created op
2019-02-21 - pandur

Examples using SwitchStringBoolean ()

Public Patches using SwitchStringBoolean ()