<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MetricReport/Environment-swift.struct/hasExceededStateLimit",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "s:9MetricKit0A6ReportV11EnvironmentV21hasExceededStateLimitSbvp"
  },
  "title" : "hasExceededStateLimit"
}
-->

# hasExceededStateLimit

A Boolean indicating if the number of emitted states exceeded the aggregation limit.

```
let hasExceededStateLimit: Bool
```

## Discussion

When `true`, some states may have been omitted from the report. Metrics associated
with the omitted states will be included in the full day interval entry along with non-state-aggregated metrics.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)