---
title: "excludes(_:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkpointofinterestfilter/excludes(_:)"
---

# excludes(_:)

Returns a Boolean value indicating whether the filter excludes the point of interest category.

## Declaration

```swift
func excludes(_ category: MKPointOfInterestCategory) -> Bool
```

## Parameters

- `category`: A point of interest category that the method checks for exclusion in the filter.

## Return Value

Return Value true if the filter excludes the point of interest category; otherwise, false.

## See Also

### Querying filter behavior

- [includes(_:)](mapkit/mkpointofinterestfilter/includes(_:).md)
