30 lines
561 B
JavaScript
30 lines
561 B
JavaScript
// Module ID: 8094
|
|
// Function ID: 8095
|
|
// Name: compareAscending
|
|
// Dependencies: [638]
|
|
|
|
// Module 8094 (compareAscending)
|
|
import isSymbol from "isSymbol" /* 638 */;
|
|
|
|
|
|
export default function compareAscending(arg0, arg1) {
|
|
if (arg0 !== arg1) {
|
|
const tmp7 = isSymbol(arg0);
|
|
const tmp11 = isSymbol(arg1);
|
|
if (null !== arg1) {
|
|
if (!tmp11) {
|
|
return 1;
|
|
}
|
|
}
|
|
if (undefined !== arg0) {
|
|
if (tmp4) {
|
|
if (!tmp2) {
|
|
if (!tmp7) {
|
|
return -1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return 0;
|
|
};
|