MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / canUndo

Method canUndo

packages/core/src/widgets/codeEditor.ts:552–554  ·  view source on GitHub ↗

Check if undo is available.

()

Source from the content-addressed store, hash-verified

550
551 /** Check if undo is available. */
552 canUndo(): boolean {
553 return this.undoStack.length > 0;
554 }
555
556 /** Check if redo is available. */
557 canRedo(): boolean {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected