---
title: "unsafeValue(assumingType:)"
framework: USDKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdvalue/unsafevalue(assumingtype:)"
---

# unsafeValue(assumingType:)

Returns the wrapped value as T without checking the dynamic type.

## Declaration

```swift
func unsafeValue<T>(assumingType type: T.Type = T.self) -> T where T : USDValueProtocol
```

## Discussion

Discussion important: The behaviour is undefined when T does not match the stored type. Prefer value(as:) unless you have already confirmed the type with isHolding(_:).
