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

# predicateForStatesOfMind(with:)

## Declaration

```swift
class func predicateForStatesOfMind(with label: HKStateOfMind.Label) -> NSPredicate
```
