---
title: "isIdentical(to:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/rawspan/isidentical(to:)"
---

# isIdentical(to:)

Returns a Boolean value indicating whether two RawSpan instances refer to the same region in memory.

## Declaration

```swift
func isIdentical(to other: RawSpan) -> Bool
```
