---
title: containsEnd
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextselectionrect/containsend
---

# containsEnd

A Boolean value that indicates whether the rectangle contains the end of the selection.

## Declaration

```swift
var containsEnd: Bool { get }
```

## Discussion

Discussion The value of this property is used to determine the placement of the selection handles in bidirectional text. It provides a clue to the system about whether the end of the selection is in the specified rectangle.

## See Also

### Determining the Selection Status

- [containsStart](uikit/uitextselectionrect/containsstart.md)
