ItemComparator<T> typedef

ItemComparator<T> = int Function(T a, T b)

A comparator function that compares two items of type T.

Implementation

typedef ItemComparator<T> = int Function(T a, T b);