---
title: "LSMResultGetCategory(_:_:)"
framework: Latent Semantic Mapping
role: symbol
role_heading: Function
path: "latentsemanticmapping/lsmresultgetcategory(_:_:)"
---

# LSMResultGetCategory(_:_:)

Returns the category of the specified result.

## Declaration

```swift
func LSMResultGetCategory(_ result: LSMResult, _ n: CFIndex) -> LSMCategory
```

## See Also

### Querying Result Information

- [LSMResultGetCount(_:)](latentsemanticmapping/lsmresultgetcount(_:).md)
- [LSMResultGetScore(_:_:)](latentsemanticmapping/lsmresultgetscore(_:_:).md)
