Nodes/ComfyMath/IntUnaryOperationConditional
ComfyUI Node

IntUnaryOperationConditional

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

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

    Inputs (5)

    NameTypeDefaultDescription
    conditionBOOLEANfalse
    fallback_modeCOMBO2 options: A, constant
    fallback_valueINT0
    opCOMBO8 options: Abs, Neg, Inc, Dec, Sqr, Cube, +2
    aINT0

    Outputs (1)

    NameTypeDescription
    INTINT