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

# subscript(unchecked:)

Accesses the element at the specified position in the MutableSpan.

## Declaration

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

## Parameters

- `position`: The offset of the element to access. position must be greater or equal to zero, and less than count.

## Overview

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