---
title: "exported(as:)"
framework: appintentstesting
role: symbol
role_heading: Instance Method
path: "appintentstesting/anyappentity/exported(as:)-7pg2q"
---

# exported(as:)

Exports this entity as a transferable intent value type.

## Declaration

```swift
func exported<T>(as type: T.Type) async throws -> T where T : IntentValueConvertible, T : Transferable
```

## Parameters

- `type`: The target value type (e.g., IntentPerson.self).

## Return Value

Return Value An instance of the requested type.

## Discussion

Discussion Use this for types that conform to both Transferable and IntentValueConvertible, such as IntentPerson. The entity must declare a ValueRepresentation for the requested type. note: If the entity does not support the requested value conversion.
