File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 419419 result = result * - 1 ;
420420 }
421421 }
422- if ( result === 0 && by [ byIndex + 1 ] ) {
422+ if ( result === 0 && t . isDefined ( by [ byIndex + 1 ] ) ) {
423423 result = compareFunc ( xIn , yIn , byIndex + 1 ) ;
424424 }
425425 return result
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ function getCompareFunc (options = {}) {
413413 result = result * - 1 ;
414414 }
415415 }
416- if ( result === 0 && by [ byIndex + 1 ] ) {
416+ if ( result === 0 && t . isDefined ( by [ byIndex + 1 ] ) ) {
417417 result = compareFunc ( xIn , yIn , byIndex + 1 ) ;
418418 }
419419 return result
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ function getCompareFunc (options = {}) {
8989 result = result * - 1
9090 }
9191 }
92- if ( result === 0 && by [ byIndex + 1 ] ) {
92+ if ( result === 0 && t . isDefined ( by [ byIndex + 1 ] ) ) {
9393 result = compareFunc ( xIn , yIn , byIndex + 1 )
9494 }
9595 return result
You can’t perform that action at this time.
0 commit comments