Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Overview

The And node performs a logical AND operation on a set of input values. It returns true only if all of the provided values are considered truthy according to Python’s truthiness rules. This node is useful for checking that multiple conditions are all met before proceeding.

Inputs

ParameterData TypeRequiredRangeDescription
valuesANYYes1 or more valuesA list of values to evaluate. The node accepts at least one value, and you can add more by clicking the ”+” button on the node.
Note: The node uses Python’s truthiness rules to determine if a value is true or false. For example, an empty string, the number 0, an empty list, and None are all considered false. All other values are considered true.

Outputs

Output NameData TypeDescription
BOOLEANBOOLEANReturns true if all input values are truthy, otherwise returns false.

Source fingerprint (SHA-256): fd9d18ce698472a7e35ad3082f2ccff8ae264b11bd887a498f929cd877ff38c4