---
title: sourceAssetChangedOrDeleted
framework: coreai
role: symbol
role_heading: Type Property
path: coreai/aimodelcache/policy/purgeconditions-swift.struct/sourceassetchangedordeleted
---

# sourceAssetChangedOrDeleted

A condition that allows purging when the source model changes or no longer exists.

## Declaration

```swift
static let sourceAssetChangedOrDeleted: AIModelCache.Policy.PurgeConditions
```

## Discussion

Discussion This option allows the system to delete a specialized asset when the .aimodel the asset derives from changes or no longer exists.
