---
title: "isInstance(_:)"
framework: appintentstesting
role: symbol
role_heading: Instance Method
path: "appintentstesting/appentitydefinition/isinstance(_:)"
---

# isInstance(_:)

Validates that the provided entity instance matches this entity definition’s type.

## Declaration

```swift
func isInstance(_ value: AnyAppEntity) throws
```

## Parameters

- `value`: The enum instance to validate.
