isSortedUsing<T> function

Matcher isSortedUsing<T>(
  1. Comparator<T> compare
)

Matches Iterables which are compare-sorted.

Implementation

Matcher isSortedUsing<T>(Comparator<T> compare) =>
    _IsSorted<T, T>((t) => t, compare);