@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 705 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsMutations](./x-components.facetsmutations.md) > [mutateFilter](./x-components.facetsmutations.mutatefilter.md)
## FacetsMutations.mutateFilter() method
Updates the state of a filter.
**Signature:**
```typescript
mutateFilter(payload: MutateFilterPayload): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| payload | [MutateFilterPayload](./x-components.mutatefilterpayload.md) | An object containing the filter to update, and the properties to modify. |
**Returns:**
void