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

# InvertBooleanNode - ComfyUI Built-in Node Documentation

> Complete documentation for the InvertBooleanNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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

此节点接收一个布尔值（真/假）输入并输出相反值。它执行逻辑非运算，将 `true` 转换为 `false`，将 `false` 转换为 `true`。

## 输入参数

| 参数        | 数据类型    | 必填 | 取值范围                | 描述         |
| --------- | ------- | -- | ------------------- | ---------- |
| `boolean` | BOOLEAN | 是  | `true`<br />`false` | 待取反的输入布尔值。 |

## 输出结果

| 输出名称     | 数据类型    | 描述       |
| -------- | ------- | -------- |
| `output` | BOOLEAN | 取反后的布尔值。 |
