@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 701 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SemanticQueriesMutations](./x-components.semanticqueriesmutations.md) > [setTotalResults](./x-components.semanticqueriesmutations.settotalresults.md)
## SemanticQueriesMutations.setTotalResults() method
Sets the [SemanticQueriesState.totalResults](./x-components.semanticqueriesstate.totalresults.md) property.
**Signature:**
```typescript
setTotalResults(totalResults: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| totalResults | number | |
**Returns:**
void