simplify_ranges
Merge and normalize adjacent or overlapping integer ranges
Usage
import 'package:simplify_ranges/simplify_ranges.dart';
const ranges = [[1, 2], [3, 4], [2, 3]];
print(simplifyRanges(ranges));
// => [[1, 4]]
Credits
- simplify-ranges by Sindre Sorhus
Libraries
- simplify_ranges
- Merge and normalize adjacent or overlapping integer ranges