canUndo

abstract fun canUndo(): Boolean

Returns whether an undo operation is currently available. This is true when at least one cleanup operation has been performed and not yet fully undone.

Return

True if undo is available, false otherwise.