Back

ordered-disjoint-intervals? (clj)

(source)

function

(ordered-disjoint-intervals? s)
Are all the intervals in the given set time-ordered and disjoint? This is a useful property of a collection of intervals. The given collection must contain proper intervals (that is, intervals that have finite greater-than-zero durations).

Examples