---
title: "hasResults(for:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/imageanalysis/hasresults(for:)"
---

# hasResults(for:)

Returns a Boolean value that indicates whether the analysis finds the specified types in the image.

## Declaration

```swift
final func hasResults(for analysisTypes: ImageAnalyzer.AnalysisTypes) -> Bool
```

## Parameters

- `analysisTypes`: The data types you want to find in the image.

## Return Value

Return Value true if the image analysis has results for the specified types; otherwise, false.
