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

# excludesCategory(category)

Returns a Boolean value that indicates whether the filter excludes the provided point-of-interest category.

## Declaration

```data
excludesCategory(category: PointOfInterestCategory): boolean | undefined;
```

## See Also

### Querying filter behavior

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