---
title: "compareBoundaryPoints(_:sourceRange:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domrange/compareboundarypoints(_:sourcerange:)"
---

# compareBoundaryPoints(_:sourceRange:)

## Declaration

```swift
func compareBoundaryPoints(_ how: UInt16, sourceRange: DOMRange!) -> Int16
```
