---
title: isInsertion
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/textselection/isinsertion
---

# isInsertion

Return true if the selection is an insertion point.

## Declaration

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

## Discussion

Discussion An insertion point effectively represents a range that contains no characters, indicating a location in the string. This location refers to the point in the text where new characters will be inserted. In other words, it represents cases when the start and end index are equal.
