@blokjs/if-else
v0.2.1
Published
blok if-else
Downloads
162
Readme
Configuration Options
The IfElse node allows you to have a conditional statement and call other nodes depending on the conditions
Node properties
Required properties
conditions(array): List of conditions to checktype(string if | else): type of the conditioncondition(string): The condition string to be checkedsteps(array): List of steps to execute if the condition is true
Usage/Examples
Step Configuration
{
"name": "if-else",
"node": "[email protected]",
"type": "local"
}Node Configuration
"if-else": {
"conditions": [
{
"type": "if",
"condition": "data !== undefined",
"steps": []
},
{
"type": "else",
"steps": []
}
]
}