IfAction
data class IfAction @JvmOverloads constructor(val condition: Value, val actions: List<Action>, val elseActions: List<Action> = listOf()) : Action
Action that executes a list of actions if a condition is true, or another list of actions otherwise.
Parameters
condition
Condition to check
actions
Actions to execute if condition is true
elseActions
Actions to execute if condition is false