mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Ensure _.sortByAll iteratee call guard works when _.partialRight is applied.
This commit is contained in:
committed by
jdalton
parent
c0110c6bab
commit
aca07530aa
@@ -6541,7 +6541,7 @@
|
||||
*/
|
||||
function sortByAll(collection) {
|
||||
var args = arguments;
|
||||
if (args.length == 4 && isIterateeCall(args[1], args[2], args[3])) {
|
||||
if (args.length > 3 && isIterateeCall(args[1], args[2], args[3])) {
|
||||
args = [collection, args[1]];
|
||||
}
|
||||
var index = -1,
|
||||
|
||||
Reference in New Issue
Block a user