---
title: hasChildNodes()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/domnode/haschildnodes()
---

# hasChildNodes()

## Declaration

```swift
func hasChildNodes() -> Bool
```
