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

# wrappedValue

The underlying value referenced by the environment object.

## Declaration

```swift
@MainActor @preconcurrency var wrappedValue: ObjectType { get }
```

## Discussion

Discussion This property provides primary access to the value’s data. However, you don’t access wrappedValue directly. Instead, you use the property variable created with the EnvironmentObject attribute. When a mutable value changes, the new value is immediately available. However, a view displaying the value is updated asynchronously and may not show the new value immediately.

## See Also

### Getting the value

- [projectedValue](swiftui/environmentobject/projectedvalue.md)
- [EnvironmentObject.Wrapper](swiftui/environmentobject/wrapper.md)
