@newdash/newdash
Version:
javascript/typescript utility library
11 lines (10 loc) • 332 B
TypeScript
export default compareAscending;
/**
* Compares values to sort them in ascending order.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {number} Returns the sort order indicator for `value`.
*/
declare function compareAscending(value: any, other: any): number;