---
title: "removeQuery(for:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsmutablefontcollection/removequery(for:)"
---

# removeQuery(for:)

Edits the query and exclusion arrays by removing the specified font descriptors.

## Declaration

```swift
func removeQuery(for descriptors: [NSFontDescriptor])
```

## Parameters

- `descriptors`: The font descriptors to add to the query.

## See Also

### Getting the Font Descriptors

- [queryDescriptors](appkit/nsmutablefontcollection/querydescriptors.md)
- [addQuery(for:)](appkit/nsmutablefontcollection/addquery(for:).md)
- [exclusionDescriptors](appkit/nsmutablefontcollection/exclusiondescriptors.md)
