From 0c4595709628b5b3ef598a6ebb9e91b33646c9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Mart=C3=ADn?= Date: Mon, 18 Jan 2016 18:32:10 +0100 Subject: [PATCH] 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/ --- doc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.md b/doc/README.md index 284661792..7ffbc6aee 100644 --- a/doc/README.md +++ b/doc/README.md @@ -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.