OrderedComparator<T> extension

Extension on Comparator to check ordering of iterables.

on

Methods

isOrdered(Iterable<T> iterable) → bool

Available on Comparator<T>, provided by the OrderedComparator extension

Whether the specified iterable is in increasing order.
isStrictlyOrdered(Iterable<T> iterable) → bool

Available on Comparator<T>, provided by the OrderedComparator extension

Whether the specified iterable is in strict increasing order.