From bccb4150fd64cfdc382ff1d10ae39e225fff2f60 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 31 Jul 2016 16:32:55 -0700 Subject: [PATCH] Add `_.every` doc note on matching empty collections. [ci skip] --- lodash.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lodash.js b/lodash.js index b609085cf..661b7eece 100644 --- a/lodash.js +++ b/lodash.js @@ -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