mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Add _.every doc note on matching empty collections. [ci skip]
This commit is contained in:
@@ -8612,6 +8612,11 @@
|
|||||||
* Iteration is stopped once `predicate` returns falsey. The predicate is
|
* Iteration is stopped once `predicate` returns falsey. The predicate is
|
||||||
* invoked with three arguments: (value, index|key, collection).
|
* 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
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user