UNPKG

siegel

Version:

Web application development ecosystem

13 lines (12 loc) 465 B
/** * Sorts array of objects * * @param primaryKey Primary object property key to sort by * @param secondaryKey Secondary object property key to sort by * @param sortValue Comparator value * @param object_a Object to compare * @param object_b Object to compare * @returns sortValue */ declare function arrayObjSort(primaryKey: string, secondaryKey: string, sortValue: number | undefined, object_a: Obj, object_b: Obj): number; export default arrayObjSort;