Function: formatActionConditions
▸ formatActionConditions(actions
): string
Formats the conditions for each provided action into a string, listing each action's name and its associated condition, separated by commas and newlines.
Parameters
Name | Type | Description |
---|---|---|
actions | Action [] | An array of Action objects from which to extract conditions. |
Returns
string
A string listing each action's name and its condition.