Function: formatActions()
formatActions(
actions
):string
Formats the provided actions into a detailed string listing each action's name and description, separated by commas and newlines.
Parameters
• actions: Action
[]
An array of Action
objects to format.
Returns
string
A detailed string of actions, including names and descriptions.