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

# queryCommandValue(_:)

## Declaration

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