Contents

NSEqualRanges(_:_:)

Returns a Boolean value that indicates whether two given ranges are equal.

Declaration

func NSEqualRanges(_ range1: NSRange, _ range2: NSRange) -> Bool

Return Value

true if range1 and range2 have the same locations and lengths.

See Also

Managing ranges