---
title: "subscript(_:)"
framework: appintentstesting
role: symbol
role_heading: Instance Subscript
path: "appintentstesting/dynamicpropertypathcollection/subscript(_:)-8h9mv"
---

# subscript(_:)

Accesses an item for nil checking and assigning to intent parameters without casting.

## Declaration

```swift
subscript(position: Int) -> (any IntentValueExpressing)? { get throws }
```
