---
title: hasAccessToAllHosts
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextensioncontext/hasaccesstoallhosts
---

# hasAccessToAllHosts

A Boolean value indicating if the currently granted permission match patterns set contains the <all_urls> pattern or any * host patterns.

## Declaration

```swift
var hasAccessToAllHosts: Bool { get }
```

## See Also

### Related Documentation

- [currentPermissionMatchPatterns](webkit/wkwebextensioncontext/currentpermissionmatchpatterns.md)
- [hasAccessToAllURLs](webkit/wkwebextensioncontext/hasaccesstoallurls.md)
