ComfyUI Node: not

Class Name

Basic data handling: Boolean Not

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

not Description

Inverts a boolean value, flipping `True` to `False` and vice versa, for dynamic decision-making.

not:

The "Basic data handling: Boolean Not" node is designed to perform a logical NOT operation on a single boolean value. This node is essential for scenarios where you need to invert a boolean condition, effectively flipping True to False and vice versa. It is particularly useful in decision-making processes within your AI art projects, where the negation of a condition can lead to different outcomes or paths. By providing a straightforward mechanism to reverse boolean logic, this node enhances the flexibility and control you have over your workflows, allowing for more dynamic and responsive designs.

not Input Parameters:

input

The input parameter is a boolean value that the node will process. It represents the condition or state you wish to invert. The default value for this parameter is False, meaning if no input is provided, the node will assume the condition is initially false. This parameter is crucial as it directly influences the node's output by determining the initial state that will be negated. There are no minimum or maximum values since it is a boolean, but it can only be True or False.

not Output Parameters:

BOOLEAN

The output of this node is a boolean value, which is the logical NOT of the input parameter. If the input is True, the output will be False, and if the input is False, the output will be True. This output is significant as it provides the inverted state of the input, allowing you to use this negated condition in subsequent nodes or logic flows within your project.

not Usage Tips:

  • Use this node to easily invert conditions in your logic flows, which can be particularly useful in scenarios where you need to toggle states or reverse decisions based on certain criteria.
  • Combine this node with other boolean nodes like "Boolean And" or "Boolean Or" to create more complex logical expressions and enhance the decision-making capabilities of your AI art projects.

not Common Errors and Solutions:

Invalid Input Type

  • Explanation: This error occurs when the input provided is not a boolean value.
  • Solution: Ensure that the input to the node is strictly a boolean (True or False). If you are using variables or outputs from other nodes, verify that they are of the correct type before connecting them to this node.

Missing Input

  • Explanation: This error happens when no input is provided to the node.
  • Solution: Make sure to connect a boolean input to the node. If you want to use the default value, ensure that the node is configured to accept it without additional connections.

not 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.

not