---
title: USDValue
framework: usdkit
role: symbol
role_heading: Structure
path: usdkit/usdvalue
---

# USDValue

A type-erased container for a value stored in a Universal Scene Description file.

## Declaration

```swift
struct USDValue
```

## Overview

Overview USDValue wraps the various concrete value types USD recognises (numerics, strings, vectors, tokens, paths, asset paths, time codes, and so on) so they can be passed through generic APIs without exposing the underlying C++ representation.

## Topics

### Creating a value

- [init()](usdkit/usdvalue/init().md)
- [init(_:)](usdkit/usdvalue/init(_:).md)

### Accessing the value

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

### Inspecting the value

- [typeName](usdkit/usdvalue/typename.md)
- [isEmpty](usdkit/usdvalue/isempty.md)
- [isArrayValued](usdkit/usdvalue/isarrayvalued.md)
- [arraySize](usdkit/usdvalue/arraysize.md)
- [USDValue.Vec3d](usdkit/usdvalue/vec3d.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)

## See Also

### Values and tokens

- [USDValueProtocol](usdkit/usdvalueprotocol.md)
- [USDToken](usdkit/usdtoken.md)
