---
title: "predicateForStatesOfMind(with:)"
framework: healthkit
role: symbol
role_heading: Type Method
path: "healthkit/hkquery/predicateforstatesofmind(with:)-9fny6"
---

# predicateForStatesOfMind(with:)

## Declaration

```swift
class func predicateForStatesOfMind(with association: HKStateOfMind.Association) -> NSPredicate
```
