simplify_ranges

Last updated:

0 purchases

simplify_ranges Image
simplify_ranges Images
Add to Cart

Description:

simplify ranges

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]]
copied to clipboard
Credits #

simplify-ranges by Sindre Sorhus

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.