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

# excludesCategory(category)

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

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

---

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)