---
title: "hasItemsConforming(to:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/dropinfo/hasitemsconforming(to:)-47irh"
---

# hasItemsConforming(to:)

Indicates whether at least one item conforms to at least one of the specified uniform type identifiers.

## Declaration

```swift
func hasItemsConforming(to contentTypes: [UTType]) -> Bool
```

## Parameters

- `contentTypes`: The uniform type identifiers to query for.

## Return Value

Return Value Whether at least one item conforms to one of contentTypes.

## See Also

### Checking for items

- [itemProviders(for:)](swiftui/dropinfo/itemproviders(for:)-93409.md)
