Combines overlapping intervals.
compressInterval([ [1, 5], [4, 7] ]); // Returns: [[1, 7]]
A collection of intervals on the format: [start, stop]
Array with compressed intervals
Sorts intervals by length and compresses.
Intervals to process
Processed intervals
Generated using TypeDoc
Combines overlapping intervals.
compressInterval([ [1, 5], [4, 7] ]); // Returns: [[1, 7]]