Nodes/Jovimetrix/COMPARISON (JOV) πŸ•΅πŸ½
ComfyUI Node

COMPARISON (JOV) πŸ•΅πŸ½

Evaluates two inputs (A and B) with a specified comparison operators and optional values for successful and failed comparisons. The node performs the specified operation element-wise between corresponding elements of A and B. If the comparison is successful for all elements, it returns the success value; otherwise, it returns the failure value. The node supports various comparison operators such as EQUAL, GREATER_THAN, LESS_THAN, AND, OR, IS, IN, etc.

By AmoranoΒ·Created 3 years agoΒ·Updated 11 months agoΒ· 397
COMPARISON (JOV) πŸ•΅πŸ½
  • πŸ…°οΈ
  • πŸ…±οΈ
  • 😍
  • πŸ₯΅
  • ⚑
  • VAL
β—„πŸ•΅πŸ½β€β™€οΈEQUALβ–Ί
β—„πŸ™ƒfalseβ–Ί
β—„πŸ”³falseβ–Ί
CategoryJOVIMETRIX πŸ”ΊπŸŸ©πŸ”΅/CALC

Inputs (7)

NameTypeDefaultDescription
πŸ…°οΈopt*0Master Comparator
πŸ…±οΈopt*0Secondary Comparator
😍opt*0pass this data on a successful condition
πŸ₯΅opt*0pass this data on a failure condition
πŸ•΅πŸ½β€β™€οΈoptCOMBOEQUALComparison function. Will pass the data in 😍 on successful comparison
πŸ™ƒoptBOOLEANfalseFlip Input A and Input B with each other
πŸ”³optBOOLEANfalsereverse the successful and failure inputs

Outputs (2)

NameTypeDescription
⚑*Outputs the input at πŸ…°οΈ or πŸ…±οΈ depending on which evaluated TRUE
VAL*The comparison result value