pyquibbler.can_undo

pyquibbler.can_undo() bool

Indicates whether an assignment undo exists.

Return type:

bool

See also

can_redo, undo, redo

Examples

>>> a = iquib([1, 2, 3])
>>> qb.can_undo()
False
>>> a[1] = 10
>>> qb.can_redo()
True
>>> qb.undo()
>>> qb.can_undo()
False