---
title: AppIntentTypeDefinition
framework: appintentstesting
role: symbol
role_heading: Protocol
path: appintentstesting/appintenttypedefinition
---

# AppIntentTypeDefinition

A protocol that associates a definition type with its corresponding instance type.

## Declaration

```swift
protocol AppIntentTypeDefinition
```

## Overview

Overview The AppIntentTypeDefinition bridges a definition type you use to retrieve your intent, entity, and enum type, and the type-erased instance of your concrete intent, entity, or enum. For example, AppIntentTypeDefinition bridges AppEntityDefinition to the AnyAppEntity. Validate that a given instance was produced from the correct definition using the isInstance(_:) function.

## Topics

### Associated Types

- [Instance](appintentstesting/appintenttypedefinition/instance.md)

### Instance Methods

- [isInstance(_:)](appintentstesting/appintenttypedefinition/isinstance(_:).md)

## Relationships

### Conforming Types

- [AppEntityDefinition](appintentstesting/appentitydefinition.md)
- [AppEnumDefinition](appintentstesting/appenumdefinition.md)
- [TransientAppEntityDefinition](appintentstesting/transientappentitydefinition.md)

## See Also

### Supporting types

- [DynamicPropertyPath](appintentstesting/dynamicpropertypath.md)
- [DynamicPropertyPathCollection](appintentstesting/dynamicpropertypathcollection.md)
- [IntentValuePropertiesCallable](appintentstesting/intentvaluepropertiescallable.md)
