---
title: discreteMostRecent
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkstatisticsoptions/discretemostrecent
---

# discreteMostRecent

An option indicating that the system returns the most recent quantity from the matching samples.

## Declaration

```swift
static var discreteMostRecent: HKStatisticsOptions { get }
```

## See Also

### Related Documentation

- [mostRecentQuantity()](healthkit/hkstatistics/mostrecentquantity().md)
- [mostRecentQuantity(for:)](healthkit/hkstatistics/mostrecentquantity(for:).md)
- [mostRecentQuantityDateInterval()](healthkit/hkstatistics/mostrecentquantitydateinterval().md)
- [mostRecentQuantityDateInterval(for:)](healthkit/hkstatistics/mostrecentquantitydateinterval(for:).md)
