---
title: isDeleted
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsmanagedobject/isdeleted
---

# isDeleted

A Boolean value that indicates whether the managed object will be deleted during the next save.

## Declaration

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

## Discussion

Discussion true if Core Data will ask the persistent store to delete the object during the next save operation, otherwise false. It may return false at other times, particularly after the object has been deleted. The immediacy with which it will stop returning true depends on where the object is in the process of being deleted. If the receiver is a fault, accessing this property does not cause it to fire.

## See Also

### Getting State Information

- [managedObjectContext](coredata/nsmanagedobject/managedobjectcontext.md)
- [hasChanges](coredata/nsmanagedobject/haschanges.md)
- [isInserted](coredata/nsmanagedobject/isinserted.md)
- [isUpdated](coredata/nsmanagedobject/isupdated.md)
- [isFault](coredata/nsmanagedobject/isfault.md)
- [faultingState](coredata/nsmanagedobject/faultingstate.md)
- [hasFault(forRelationshipNamed:)](coredata/nsmanagedobject/hasfault(forrelationshipnamed:).md)
- [hasPersistentChangedValues](coredata/nsmanagedobject/haspersistentchangedvalues.md)
