We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90aaa3c commit cdd647cCopy full SHA for cdd647c
src/js/util.js
@@ -18,7 +18,7 @@ export function biggerEquals(a, b, compareFn) {
18
19
export function defaultCompare(a, b) {
20
if (a === b) {
21
- return 0;
+ return Compare.EQUALS;
22
}
23
return a < b ? Compare.LESS_THAN : Compare.BIGGER_THAN;
24
0 commit comments