Add _.every doc note on matching empty collections. [ci skip]

This commit is contained in:
John-David Dalton
2016-07-31 16:32:55 -07:00
parent 9a297b0eb5
commit bccb4150fd

View File

@@ -8612,6 +8612,11 @@
* Iteration is stopped once `predicate` returns falsey. The predicate is
* invoked with three arguments: (value, index|key, collection).
*
* **Note:** This method returns `true` for
* [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
* [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
* elements of empty collections.
*
* @static
* @memberOf _
* @since 0.1.0