ComfyUI Node
String Default
テキストが空のとき default_value を返します
String Default
- result
- was_empty
◄text►
◄default_value►
◄trim_before_checkfalse►
CategoryString Function
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| default_value | STRING | — | |
| trim_before_checkopt | BOOLEAN | false | チェック前に前後の空白を除去する |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |
| was_empty | BOOLEAN | — |