← See All Custom Node Packs

was-node-suite-comfyui

1529

Run ComfyUI Easily with InstaSD

Skip the complex setup and run ComfyUI online. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

Available Nodes

Logic Comparison OR

Documentation for Logic Comparison OR Node

Overview

The Logic Comparison OR node is part of the WAS Node Suite for ComfyUI, which provides a variety of nodes for processing logical operations, image manipulation, text processing, and more. This specific node is designed to perform a logical OR operation on two boolean inputs, enabling users to integrate basic logical functionality into their ComfyUI workflows.

Functionality

What This Node Does

The Logic Comparison OR node performs a logical OR operation between two boolean inputs. A logical OR operation returns True if at least one of the inputs is True, and False only if both inputs are False. This operation is a fundamental component of boolean logic and can be used to make decisions within workflows based on multiple conditions.

Node Inputs

The Logic Comparison OR node accepts the following inputs:

  1. Boolean A: The first boolean input for the OR operation. This input should be a boolean value (True or False).

  2. Boolean B: The second boolean input for the OR operation. This input should also be a boolean value (True or False).

These inputs represent the two conditions that the node will evaluate using the logical OR operation.

Node Outputs

The Logic Comparison OR node produces the following output:

  • Boolean Output: The result of the logical OR operation between Boolean A and Boolean B. This output will be True if either Boolean A or Boolean B is True, and False if both are False.

Usage in ComfyUI Workflows

How It Might Be Used

The Logic Comparison OR node can be utilized in various ComfyUI workflows where decision-making or conditional logic is required. For example:

  • Conditional Branching: Use the OR node to influence the direction of your workflow based on multiple conditions. If either condition is met, proceed to a specific branch of actions.

  • Error Checking: Determine if at least one of several error conditions is present before executing error-handling routines.

  • Feature Activation: Activate features or processes within a workflow if at least one of multiple enabling conditions is satisfied.

Example

In a ComfyUI image processing workflow, you might use the Logic Comparison OR node to decide whether to apply a filter based on the status of two flags representing different conditions, such as isHighResolution or isColorImage. If either is True, the node could direct the flow to apply the desired filter.

Special Features or Considerations

  • No Special Prerequisites: The Logic Comparison OR node does not require any additional setup or dependencies to use within ComfyUI workflows.

  • Easy Integration: The node is designed to easily integrate into existing workflows that utilize boolean logic.

  • Foundation for Complex Logic: While the OR node itself performs a simple operation, it can serve as a building block for more complex logical structures when combined with other logic nodes from the WAS Node Suite, such as AND, NOT, and XOR nodes.

  • Flexible Use Cases: Given its fundamental nature, this node can be applied in a wide range of scenarios beyond straightforward logical comparisons, depending on the creativity of the user.

Conclusion

The Logic Comparison OR node in the WAS Node Suite is a powerful yet simple tool for integrating logical operations into your ComfyUI workflows. By allowing the evaluation of two boolean conditions to inform workflow logic, it aids in creating dynamic and responsive workflows suited to varied needs and requirements.

Want to try was-node-suite-comfyui without installing anything? Run ComfyUI online on InstaSD's cloud GPUs — no setup required.