---
title: wrappedValue
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/focusstate/wrappedvalue
---

# wrappedValue

The current state value, taking into account whatever bindings might be in effect due to the current location of focus.

## Declaration

```swift
var wrappedValue: Value { get nonmutating set }
```

## Discussion

Discussion When focus is not in any view that is bound to this state, the wrapped value will be nil (for optional-typed state) or false (for Bool- typed state).

## See Also

### Inspecting the focus state

- [projectedValue](swiftui/focusstate/projectedvalue.md)
- [FocusState.Binding](swiftui/focusstate/binding.md)
