---
title: matchesAllHosts
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/matchpattern/matchesallhosts
---

# matchesAllHosts

A Boolean value that indicates if the pattern is <all_urls> or has * as the host.

## Declaration

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