---
title: "canPaste(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipasteconfigurationsupporting/canpaste(_:)"
---

# canPaste(_:)

Returns a Boolean value that determines whether the responder object can perform a paste operation using data provided by the item providers.

## Declaration

```swift
optional func canPaste(_ itemProviders: [NSItemProvider]) -> Bool
```

## Parameters

- `itemProviders`: An array of doc://com.apple.documentation/documentation/Foundation/NSItemProvider objects.

## Return Value

Return Value true if the responder object can perform a paste operation using specified item providers; otherwise, false.

## See Also

### Performing a paste operation

- [paste(itemProviders:)](uikit/uipasteconfigurationsupporting/paste(itemproviders:).md)
