---
title: isContentDiscarded()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nsdiscardablecontent/iscontentdiscarded()
---

# isContentDiscarded()

Returns a Boolean value indicating whether the content has been discarded.

## Declaration

```swift
func isContentDiscarded() -> Bool
```

## Return Value

Return Value true if the content has been discarded; otherwise, false.

## See Also

### Discarding Content

- [discardContentIfPossible()](foundation/nsdiscardablecontent/discardcontentifpossible().md)
