---
title: "subscript(_:)"
framework: xpc
role: symbol
role_heading: Instance Subscript
path: "xpc/xpcarray/subscript(_:)-9akd5"
---

# subscript(_:)

Get or set a value in this array as a UUID.

## Declaration

```swift
subscript(index: Int) -> uuid_t? { get set }
```

## Parameters

- `index`: The index at which to get or set the UUID.

## Return Value

Return Value A UUID value or nil if no such value was found.
