---
title: "queryCommandSupported(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domdocument/querycommandsupported(_:)"
---

# queryCommandSupported(_:)

## Declaration

```swift
func queryCommandSupported(_ command: String!) -> Bool
```
