> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-partner-nodes-consolidate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ComfyAndNode - ComfyUI Built-in Node Documentation

> And 节点对一组输入值执行逻辑与（AND）操作。

And 节点对一组输入值执行逻辑与（AND）操作。仅当所有提供的值根据 Python 的真值规则都被视为真值（truthy）时，它才返回 `true`。此节点用于在继续操作前检查多个条件是否全部满足。

## 输入

| 参数  | 描述                                              | 数据类型 | 必需 | 范围          |
| --- | ----------------------------------------------- | ---- | -- | ----------- |
| `值` | 要计算的值。节点至少接受一个值，你可以通过点击节点上的“+”按钮添加更多值。接受任何数据类型。 | ANY  | 是  | 1 个或更多（无上限） |

**注意：** 节点使用 Python 的真值规则来确定值是 `true` 还是 `false`。例如，空字符串、数字 0、空列表和 `None` 均被视为 `false`。所有其他值均被视为 `true`。

## 输出

| 输出名称      | 描述                                   | 数据类型    |
| --------- | ------------------------------------ | ------- |
| `BOOLEAN` | 如果所有输入值均为真值，则返回 `true`，否则返回 `false`。 | BOOLEAN |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ComfyAndNode/zh.md)

***

**Source fingerprint (SHA-256):** `e7359c46da62f9859ea4f4a239cf20c565b5f7de22d280afc00c7ca321f1c89d`
