DynamicPropertyPathCollection
Indexed result items from an intent value query.
Declaration
struct DynamicPropertyPathCollectionOverview
Access query results by index and navigate their properties using dynamic member lookup:
let result = try await searchQuery.values(for: "Arizona")
XCTAssertEqual(result.items.count, 3)
XCTAssertEqual(try result.items[0].name, "Botanical Garden")