Nodes/ComfyUI-JakeUpgrade/Text Input Switch JK๐Ÿ‰
ComfyUI Node

Text Input Switch JK๐Ÿ‰

Switch between two text inputs based on boolean condition

By jakechaiยทCreated 2 years agoยทUpdated 2 months agoยท 146
Text Input Switch JK๐Ÿ‰
    • string_output
    • boolean
    โ—„boolean_valuefalseโ–บ
    โ—„text_falseโ–บ
    โ—„text_trueโ–บ
    Category๐Ÿ‰ JK/๐Ÿ”€ Switch

    Inputs (3)

    NameTypeDefaultDescription
    boolean_valueBOOLEANfalseCondition to select between inputs (True=text_true, False=text_false)
    text_falseSTRINGText value to return when condition is False
    text_trueoptSTRINGText value to return when condition is True (optional)

    Outputs (2)

    NameTypeDescription
    string_outputSTRINGโ€”
    booleanBOOLEANโ€”