Buffer.canRedo

bool canRedo()

Determines whether a source buffer can redo the last action (i.e. if the last operation was an undo).

Returns

true if a redo is possible.