Clarify exit early behavior in _.every doc and refine related test.

This commit is contained in:
Miro Mannino
2015-10-12 13:46:06 +04:00
committed by John-David Dalton
parent 1ad55ec263
commit 6dec9cb831
2 changed files with 24 additions and 9 deletions

View File

@@ -6739,7 +6739,8 @@
/**
* Checks if `predicate` returns truthy for **all** elements of `collection`.
* The predicate is invoked with three arguments: (value, index|key, collection).
* Iteration is stopped once `predicate` returns falsey. The predicate is
* invoked with three arguments: (value, index|key, collection).
*
* @static
* @memberOf _