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

# removeContentUnsupported(by:)

Removes all content not supported by the provided feature set.

## Declaration

```swift
mutating func removeContentUnsupported(by featureSet: FeatureSet) -> Bool
```

## Parameters

- `featureSet`: The feature set to limit this markup to.

## Return Value

Return Value True if this was successful and the feature set is now supported.

## Discussion

Discussion If the returned value is true then self.featureSet.isSubset(of: featureSet) will be true.

## See Also

### Managing feature compatibility

- [featureSet](paperkit/markup/featureset.md)
