---
title: canOpenURL
framework: TVMLKit JS
role: symbol
role_heading: Function
platforms: [tvOS 10.0+]
path: tvmljs/2123042-canopenurl
---

# canOpenURL

Determines if a deep-link to another app can be opened.

## Declaration

```data
Boolean canOpenURL(
    in String url
);
```

## Parameters

- `url`: The deep-link URL being verified.

## Return Value

Return Value Returns YES if the app can be opened.

## See Also

### Manipulating the Document

- [UUID](tvmljs/1627409-uuid.md)
- [getActiveDocument](tvmljs/1627314-getactivedocument.md)
- [openURL](tvmljs/1627399-openurl.md)
