hasOverlap

Predicate that checks for the existence of overlaps in array of Range!T.

It is assumed that the array is already sorted. All empty ranges are ignored.

bool
hasOverlap
(
T
)
()

Parameters

ranges Range!(T)[]

a sorted array of Range!T to be checked

Return Value

Type: bool

true if at least one overlap exists in the array

Meta