---
title: allStatistics
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutbuilder/allstatistics
---

# allStatistics

A dictionary that contains all the statistics for the workout builder.

## Declaration

```swift
var allStatistics: [HKQuantityType : HKStatistics] { get }
```

## Discussion

Discussion HealthKit calculates an HKStatistics object for each HKQuantityType, based on the HKQuantitySample objects collected by the workout builder.
