equals

open fun equals(o: Any): Boolean

Compares this text selection to the specified object. The result is true if and only if the argument is a TextSelection with the same page index, text range, selected text, and text blocks.

Return

true if the given object represents a text selection equivalent to this text selection, false otherwise.

Parameters

o

The object to compare this text selection against.