EditorState.isUndoAvailable

bool isUndoAvailable()

Gets whether an undo command can be issued.

Returns

true if undo is currently available