NSEqualRanges(_:_:)
Returns a Boolean value that indicates whether two given ranges are equal.
Declaration
func NSEqualRanges(_ range1: NSRange, _ range2: NSRange) -> BoolReturn Value
true if range1 and range2 have the same locations and lengths.