---
title: canRedo
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/undomanager/canredo
---

# canRedo

A Boolean value that indicates whether the manager has any actions to redo.

## Declaration

```swift
var canRedo: Bool { get }
```

## Discussion

Discussion true if the manager has any actions to redo, otherwise false. Because any undo operation registered clears the redo stack, this method posts an NSUndoManagerCheckpoint to allow clients to apply their pending operations before testing the redo stack.

## See Also

### Related Documentation

- [redo()](foundation/undomanager/redo().md)

### Checking undo ability

- [canUndo](foundation/undomanager/canundo.md)
