<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntentsTesting",
  "identifier" : "/documentation/AppIntentsTesting/ResolvedValueQueryResult",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents Testing"
    ],
    "preciseIdentifier" : "s:17AppIntentsTesting24ResolvedValueQueryResultV"
  },
  "title" : "ResolvedValueQueryResult"
}
-->

# ResolvedValueQueryResult

The result of an intent value query.

```
struct ResolvedValueQueryResult
```

## Overview

Use the resolved value query result to verify that your
<doc://com.apple.documentation/documentation/AppIntents/IntentValueQuery> returns the expected
results as shown in the following example:

```swift
let result = try await searchQuery.values(for: "Arizona")

// Verify individual items.
XCTAssertEqual(try result.items[0].name, "Botanical Garden")

// Cast items to a concrete value for additional verifications.
let entity: AnyAppEntity =
    try result.items[0].as(AnyAppEntity.self)
```

## Topics

### Accessing query results

[`let items: DynamicPropertyPathCollection`](/documentation/AppIntentsTesting/ResolvedValueQueryResult/items)

The results that the query returns.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)