Fix iteratee arg count in _.partition docs. [ci skip]

If I am not mistaken, the docs for `partition` are wrong. It is only invoked with an argument, not three. See this fiddle https://jsfiddle.net/y8fcwa6m/
This commit is contained in:
Nacho Martín
2016-01-18 18:32:10 +01:00
committed by John-David Dalton
parent aa311bd792
commit 0c45957096

View File

@@ -2627,7 +2627,7 @@ _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
Creates an array of elements split into two groups, the first of which
contains elements `predicate` returns truthy for, while the second of which
contains elements `predicate` returns falsey for. The predicate is invoked
with three arguments: (value, index|key, collection).
with one argument: (value).
#### Arguments
1. `collection` *(Array|Object)*: The collection to iterate over.