intersects

fun intersects(otherRange: Range<T>): Boolean

Returns true, if this RangeSet intersects with the otherRange.


fun intersects(otherRangeSet: RangeSet<T>): Boolean

Returns true, if this RangeSet intersects with the otherRangeSet.