history

history.getRedoStack

getRedoStack(): string[]

Return the labels of all entries currently on the redo stack (most-recently-undone first).

Useful for building a history inspector UI.

Returns: string[]