---
title: clearsFilterPredicateOnInsertion
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsarraycontroller/clearsfilterpredicateoninsertion
---

# clearsFilterPredicateOnInsertion

A Boolean value that indicates whether the receiver automatically clears an existing filter predicate when new items are inserted or added to the content

## Declaration

```swift
var clearsFilterPredicateOnInsertion: Bool { get set }
```

## Discussion

Discussion The default is true. This property is observable using key-value observing.

## See Also

### Filtering Content

- [filterPredicate](appkit/nsarraycontroller/filterpredicate.md)
