ComfyUI Node: or

Class Name

Basic data handling: Boolean Or

Category
Basic/BOOLEAN
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

or Description

Performs a logical OR on two booleans, ensuring a positive result if either condition is true.

or:

The "Basic data handling: Boolean Or" node is designed to perform a logical OR operation on two boolean values. This node is particularly useful when you need to determine if at least one of two conditions is true. By leveraging this node, you can simplify decision-making processes in your workflows, ensuring that any scenario where either condition is met will yield a positive result. This functionality is essential in scenarios where multiple conditions might lead to the same outcome, allowing for more flexible and dynamic logic handling in your AI art projects.

or Input Parameters:

input1

This parameter represents the first boolean input for the OR operation. It determines one of the conditions to be evaluated. The default value is False, and it is required to be explicitly set to ensure accurate operation. The value can either be True or False, with no minimum or maximum as it is a boolean type.

input2

This parameter represents the second boolean input for the OR operation. Similar to input1, it defines another condition to be evaluated. The default value is False, and it must be explicitly provided. The value can be either True or False, with no minimum or maximum as it is a boolean type.

or Output Parameters:

BOOLEAN

The output of this node is a single boolean value that represents the result of the OR operation between input1 and input2. If either input1 or input2 is True, the output will be True. If both are False, the output will be False. This output is crucial for determining the fulfillment of at least one condition in logical operations.

or Usage Tips:

  • Use this node when you need to check if at least one of two conditions is true, which can be particularly useful in decision-making processes within your AI art workflows.
  • Ensure that both input parameters are explicitly set to avoid unexpected results, especially if the default False value does not align with your intended logic.

or Common Errors and Solutions:

MissingInputError

  • Explanation: This error occurs when one or both of the required boolean inputs are not provided.
  • Solution: Ensure that both input1 and input2 are explicitly set to either True or False before executing the node.

InvalidTypeError

  • Explanation: This error arises if the inputs provided are not of boolean type.
  • Solution: Verify that both input1 and input2 are boolean values (True or False) and not other data types like strings or numbers.

or Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

or