isEqual()

This method is used to determine whether the comparison range is equal or not equal to the current range.

syntax:

isEqual( comparison range )

This method is used with the following:

textRange