allowsSelection
TypeScriptstatic get allowsSelection(): booleanSwift declarationstatic let allowsSelection: BoolA Boolean value that indicates whether the selectability type allows selection. Conforming types, such as ``EnabledTextSelectability`` and ``DisabledTextSelectability``, return `true` or `false` for this property as appropriate. SwiftUI expects this value for a given selectability type to be constant, unaffected by global state.