Interacting with editorsMethodsText document APIApiMethodsCanUndoOn this pageCanUndo Checks if it is possible to undo the user's last action. Syntax expression.CanUndo(); expression - A variable that represents a Api class. Parameters This method doesn't have any parameters. Returns boolean