Buffer.canUndo

Determines whether a source buffer can undo the last action.

class Buffer
bool
canUndo
()

Return Value

Type: bool

true if it's possible to undo the last action.