---
title: "subscript(unchecked:)"
framework: swift
role: symbol
role_heading: Instance Subscript
path: "swift/outputspan/subscript(unchecked:)"
---

# subscript(unchecked:)

Accesses the element at the specified position.

## Declaration

```swift
subscript(unchecked index: OutputSpan<Element>.Index) -> Element { get set }
```

## Parameters

- `index`: A valid index into this span.

## Overview

Overview This subscript does not validate position; this is an unsafe operation. note: O(1)
