---
title: get()
framework: usdkit
role: symbol
role_heading: Instance Method
path: usdkit/usdvalue/get()
---

# get()

Returns the wrapped value if it is of type T, otherwise nil.

## Declaration

```swift
func get<T>() -> T? where T : USDValueProtocol
```

## See Also

### Accessing the value

- [uncheckedGet()](usdkit/usdvalue/uncheckedget().md)
- [isHolding(_:)](usdkit/usdvalue/isholding(_:).md)
