ComfyUI Node
Bool → Int
Converts a boolean to an integer: True → 1, False → 0.
Bool → Int
- INT
◄valuefalse►
CategorySimpleLogics/Convert
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |
Converts a boolean to an integer: True → 1, False → 0.
| Name | Type | Default | Description |
|---|---|---|---|
| value | BOOLEAN | false | — |
| Name | Type | Description |
|---|---|---|
| INT | INT | — |