Nodes/Sage Utils/Text Switch
ComfyUI Node

Text Switch

Passes the text if active is true, otherwise passes an empty string.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Text Switch
    • str
    str
    activetrue
    CategorySage Utils/text/helper

    Inputs (2)

    NameTypeDefaultDescription
    strSTRINGText to conditionally pass through.
    activeBOOLEANtrueIf true, passes the text through; otherwise returns an empty string.

    Outputs (1)

    NameTypeDescription
    strSTRINGOutput value for str_out.