ComfyUI > Nodes > ComfyUI_Mira > 2 Bools

ComfyUI Node: 2 Bools

Class Name

TwoBooleanTrigger

Category
Mira/Logic
Author
mirabarukaso (Account age: 1261days)
Extension
ComfyUI_Mira
Latest Updated
2024-07-25
Github Stars
0.03K

How to Install ComfyUI_Mira

Install this extension via the ComfyUI Manager by searching for ComfyUI_Mira
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Mira 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

2 Bools Description

Consolidates two boolean inputs into a list for streamlined processing and management of multiple triggers.

2 Bools:

The TwoBooleanTrigger node is designed to handle two boolean inputs and output them as a list. This node is particularly useful when you need to manage multiple boolean conditions simultaneously and pass them to another node that interprets boolean lists. By consolidating two boolean values into a single list, it simplifies the process of handling multiple triggers and ensures that the boolean states are easily accessible for further processing. This node is essential for scenarios where you need to evaluate or manipulate multiple boolean conditions in a streamlined manner.

2 Bools Input Parameters:

bool_1

bool_1 is the first boolean input parameter. It represents one of the two boolean conditions that you want to manage. The default value for this parameter is False, meaning that if no value is provided, it will be considered as False. This parameter is crucial as it forms the first element of the boolean list output.

bool_2

bool_2 is the second boolean input parameter. Similar to bool_1, it represents another boolean condition that you want to manage. The default value for this parameter is False. This parameter is equally important as it forms the second element of the boolean list output.

2 Bools Output Parameters:

bool_list

bool_list is the output parameter of the TwoBooleanTrigger node. It is a list containing the two boolean values provided as inputs (bool_1 and bool_2). This list can be used by other nodes that interpret boolean lists, allowing for more complex boolean logic to be implemented. The output list ensures that both boolean conditions are passed together, maintaining their relationship and making it easier to handle multiple conditions in subsequent processing steps.

2 Bools Usage Tips:

  • Use the TwoBooleanTrigger node when you need to manage and pass multiple boolean conditions to another node that requires a boolean list.
  • Ensure that you set the boolean inputs (bool_1 and bool_2) according to the conditions you want to evaluate or manipulate, as these will directly affect the output list.

2 Bools Common Errors and Solutions:

Missing boolean input

  • Explanation: If one or both boolean inputs are not provided, the node will use the default value of False.
  • Solution: Ensure that you provide values for both bool_1 and bool_2 to avoid unintended default values.

Incorrect boolean list interpretation

  • Explanation: If the output bool_list is not interpreted correctly by subsequent nodes, it may lead to unexpected results.
  • Solution: Verify that the node receiving the bool_list output is designed to handle boolean lists and is configured correctly to interpret the list elements.

2 Bools Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Mira
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.