isSwitchedOn A Boolean value that indicates whether the switch is currently switched on. Declarationvar isSwitchedOn: Bool { get } See AlsoInspecting the switchcontentshighlightDurationswitchedOnContents