---
title: predicate
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkquantityseriessamplequerydescriptor/predicate
---

# predicate

A predicate that defines the set of series samples that the query returns.

## Declaration

```swift
var predicate: HKSamplePredicate<HKQuantitySample>
```

## See Also

### Accessing Query Properties

- [options](healthkit/hkquantityseriessamplequerydescriptor/options-swift.property.md)
