Function UndoRedo.hasUndo

Returns true if an "undo" action is available.

bool hasUndo() nothrow @nogc;