---
title: isUndoRegistrationEnabled
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/undomanager/isundoregistrationenabled
---

# isUndoRegistrationEnabled

A Boolean value that indicates whether the recording of undo operations is enabled.

## Declaration

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

## Discussion

Discussion true if registration is enabled; otherwise, false. The default is true.

## See Also

### Enabling and disabling undo

- [disableUndoRegistration()](foundation/undomanager/disableundoregistration().md)
- [enableUndoRegistration()](foundation/undomanager/enableundoregistration().md)
