---
title: "isSatisfied(by:)"
framework: appintentstesting
role: symbol
role_heading: Instance Method
platforms: [iOS 27.3+, iPadOS 27.3+, Mac Catalyst 27.3+, macOS 27.3+, tvOS 27.3+, visionOS 27.3+, watchOS 27.3+]
path: "appintentstesting/intentvalueexpectation/issatisfied(by:)"
---

# isSatisfied(by:)

Returns a Boolean value that indicates whether a value meets the requirements of the expectation.

## Declaration

```swift
func isSatisfied(by value: (any IntentValueExpressing)?) async throws -> Bool
```

## Parameters

- `value`: The value to check, or nil for an absent value.

## Return Value

Return Value true if the value satisfies the expectation; otherwise, false.

## Discussion

Discussion Use this method to check an intent parameter value, an app entity property value, an intent result value, or an entity on its own. For an entity, the method checks each property independently; a property that the method can’t evaluate, such as a value of the wrong type, isn’t satisfied and doesn’t stop the method from checking the others.
