apiref
@dtinth/comparator@0.0.3

Comparator.comparing()  Function

Signature

function comparing<T, U>(keyExtractor: (value: T) => U, keyComparator?: Comparator<U>): ComparatorX<T>;

Parameters

ParameterTypeDescription
keyExtractor(value: T) => U
keyComparatorComparator<U>
(Returns)ComparatorX<T>