---
title: isSelected
framework: sharedwithyoucore
role: symbol
role_heading: Instance Property
path: sharedwithyoucore/swcollaborationoption/isselected
---

# isSelected

A Boolean value that represents the selected state of an option.

## Declaration

```swift
var isSelected: Bool { get set }
```

## Discussion

Discussion For switches, the app can manually set isSelected.

## See Also

### Accessing option attributes

- [identifier](sharedwithyoucore/swcollaborationoption/identifier.md)
- [requiredOptionsIdentifiers](sharedwithyoucore/swcollaborationoption/requiredoptionsidentifiers.md)
- [subtitle](sharedwithyoucore/swcollaborationoption/subtitle.md)
- [title](sharedwithyoucore/swcollaborationoption/title.md)
