Clear
To use PCMO, you need to create an instance of the PiopiyAction
class and define the actions you want to perform. The clear()
method can be used to remove all defined actions from the current session before executing any new actions.
clear()
- No parameters. Clears all defined actions.
Example Implementation
- Clear all defined actions before starting new ones.
- Node.js
- Python
const { PiopiyAction } = require("piopiy");
const action = new PiopiyAction();
action.clear();
from piopiy import Action
# Create an instance of the Action class
action = Action()
action.clear()