ComfyUI > Nodes > CRT-Nodes > Boolean Invert (CRT)

ComfyUI Node: Boolean Invert (CRT)

Class Name

BooleanInvert

Category
CRT/Logic
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

Install this extension via the ComfyUI Manager by searching for CRT-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter CRT-Nodes 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

Boolean Invert (CRT) Description

Inverts boolean values to toggle conditions in AI art projects, enhancing workflow flexibility.

Boolean Invert (CRT):

The BooleanInvert node is a logical utility designed to invert a boolean value, effectively flipping it from True to False or vice versa. This node is particularly useful in scenarios where you need to toggle a condition or reverse a logical state within your AI art projects. By providing a straightforward mechanism to invert boolean values, it simplifies the process of managing logical conditions and enhances the flexibility of your workflow. The node operates by taking a single boolean input and returning its opposite, making it an essential tool for logic-based operations in creative coding environments.

Boolean Invert (CRT) Input Parameters:

input_boolean

The input_boolean parameter is the sole input for the BooleanInvert node. It accepts a boolean value, which can either be True or False. The function of this parameter is to provide the initial logical state that you wish to invert. The impact of this parameter on the node's execution is direct, as the node will output the opposite of whatever boolean value is provided. The default value for this parameter is True, meaning if no specific input is given, the node will assume the input is True and output False.

Boolean Invert (CRT) Output Parameters:

output_boolean

The output_boolean parameter is the result of the BooleanInvert node's operation. It outputs a boolean value that is the inverse of the input_boolean parameter. If the input was True, the output will be False, and vice versa. This output is crucial for controlling the flow of logic in your projects, allowing you to easily toggle conditions and manage logical states effectively.

Boolean Invert (CRT) Usage Tips:

  • Use the BooleanInvert node to easily toggle conditions in your logic flow, especially when you need to reverse a decision or state.
  • Combine this node with other logic nodes to create complex conditional structures, enhancing the decision-making capabilities of your AI art projects.

Boolean Invert (CRT) Common Errors and Solutions:

No specific error messages

  • Explanation: The BooleanInvert node is straightforward and typically does not produce specific error messages. However, issues may arise if the input is not a boolean value.
  • Solution: Ensure that the input provided to the BooleanInvert node is a valid boolean (True or False). If you encounter unexpected behavior, double-check the input type and ensure it is correctly configured as a boolean.

Boolean Invert (CRT) Related Nodes

Go back to the extension to check out more related nodes.
CRT-Nodes
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.