---
title: "removeContentUnsupported(by:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/papermarkup/removecontentunsupported(by:)"
---

# removeContentUnsupported(by:)

Remove all contents that is not supported by the provided feature set.

## Declaration

```swift
mutating func removeContentUnsupported(by featureSet: FeatureSet)
```

## Parameters

- `featureSet`: The feature set to limit this data model to.

## Discussion

Discussion After calling this method featureSet.isSubset(of: features) will be true.
