Contents

isEqual(to:)

Compares two text ranges.

Declaration

func isEqual(to textRange: NSTextRange) -> Bool

Parameters

  • textRange:

    The range used to compare against the current range to evaluate for differences.

Return Value

Returns true if the ranges are equal.

See Also

Comparing text ranges