---
title: "comparePoint(_:offset:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domrange/comparepoint(_:offset:)"
---

# comparePoint(_:offset:)

## Declaration

```swift
func comparePoint(_ refNode: DOMNode!, offset: Int32) -> Int16
```
