tablor-core
Version:
Core features for data tables, grids, and advanced search, pagination, and sorting in Angular.
7 lines (6 loc) • 386 B
TypeScript
/**
* Default compare function.
*/
import { ImmutableProcessedSortingOption } from './interfaces';
import { ImmutableAugmentedItem, Item } from '../stores/items-store/interfaces';
export declare function defaultCompareFn<T extends Item<T>, K extends keyof T>(aItem: ImmutableAugmentedItem<T>, bItem: ImmutableAugmentedItem<T>, options: ImmutableProcessedSortingOption<T, K>): number;