Switch (Yogurt Nodes)
- condition
- option1
- option2
- option3
- option4
- option5
- option6
- option7
- option8
- default
- data
◄case1►
◄case2►
◄case3►
◄case4►
◄case5►
◄case6►
◄case7►
◄case8►
CategoryYogurtNodes/Logic
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| condition | * | Input condition text. | |
| case1 | STRING | the regex to match for case1. | |
| case2 | STRING | the regex to match for case2. | |
| case3 | STRING | the regex to match for case3. | |
| case4 | STRING | the regex to match for case4. | |
| case5 | STRING | the regex to match for case5. | |
| case6 | STRING | the regex to match for case6. | |
| case7 | STRING | the regex to match for case7. | |
| case8 | STRING | the regex to match for case8. | |
| option1opt | * | The data to return if case1 matches. | |
| option2opt | * | The data to return if case2 matches. | |
| option3opt | * | The data to return if case3 matches. | |
| option4opt | * | The data to return if case4 matches. | |
| option5opt | * | The data to return if case5 matches. | |
| option6opt | * | The data to return if case6 matches. | |
| option7opt | * | The data to return if case7 matches. | |
| option8opt | * | The data to return if case8 matches. | |
| defaultopt | * | The default option to switch to. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| data | * | — |