<!--
{
  "availability" : [
    "MapKit JS: 5.33.1 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/PointOfInterestFilter/excludesCategory",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.PointOfInterestFilter/excludesCategory"
  },
  "title" : "excludesCategory(category)"
}
-->

# excludesCategory(category)

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)