跳到主要内容

能否撤销操作

检查是否可以撤销用户的上一步操作。

语法

expression.CanUndo();

expression - 表示 Api 类的变量。

参数

此方法没有参数。

返回值

boolean(布尔值)