---
title: excludesCategory(category)
framework: mapkitjs
role: symbol
role_heading: Instance Method
path: mapkitjs/addressfilter/excludescategory
---

# excludesCategory(category)

A Boolean value that indicates whether to exclude a category from a search.

## Declaration

```data
excludesCategory(category: AddressCategory): boolean;
```

## See Also

### Querying filter behavior

- [includesCategory(category)](mapkitjs/addressfilter/includescategory.md)
