Comparator Namespace
Methods for creating Comparator instances. These instances are enhanced with additional methods defined in the ComparatorX interface.
Signature
export declare namespace Comparator
Functions
Function | Description |
---|---|
comparing(keyExtractor, keyComparator) | |
naturalOrder() | |
reverseOrder() |