Nodes/ComfyMath/IntBinaryOperationConditional
ComfyUI Node

IntBinaryOperationConditional

Applies a binary (two int inputs, one fallback input) integer operation only when condition is true; otherwise returns a, b, or fallback_value.

By rabanti-github·Created about a month ago·Updated 18 days ago· 0
IntBinaryOperationConditional
    • INT
    conditionfalse
    fallback_mode
    fallback_value0
    op
    a0
    b0
    Categorymath/int

    Inputs (6)

    NameTypeDefaultDescription
    conditionBOOLEANfalse
    fallback_modeCOMBO3 options: A, B, constant
    fallback_valueINT0
    opCOMBO16 options: Add, Sub, Mul, Div, Mod, Pow, +10
    aINT0
    bINT0

    Outputs (1)

    NameTypeDescription
    INTINT