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

Int Input Switch JK๐Ÿ‰

Switch between two integer inputs based on boolean condition

By jakechaiยทCreated 2 years agoยทUpdated 2 months agoยท 146
Int Input Switch JK๐Ÿ‰
    • int_output
    • boolean
    โ—„boolean_valuefalseโ–บ
    โ—„int_false0โ–บ
    โ—„int_true0โ–บ
    Category๐Ÿ‰ JK/๐Ÿ”€ Switch

    Inputs (3)

    NameTypeDefaultDescription
    boolean_valueBOOLEANfalseCondition to select between inputs (True=int_true, False=int_false)
    int_falseINT0-18446744073709550000โ€“18446744073709550000Integer value to return when condition is False
    int_trueoptINT0-18446744073709550000โ€“18446744073709550000Integer value to return when condition is True (optional)

    Outputs (2)

    NameTypeDescription
    int_outputINTโ€”
    booleanBOOLEANโ€”