The "chain" methods "all" return boolean values. (#10955)

They actually return _ChainSingle<boolean>, not _Chain<T>.

http://underscorejs.org/#every
This commit is contained in:
Mario Adrian
2016-09-06 23:10:57 +09:00
committed by Masahiro Wakame
parent 76a497660f
commit b74d0bee45
+1 -1
View File
@@ -5074,7 +5074,7 @@ interface _Chain<T> {
* Wrapped type `any[]`.
* @see _.all
**/
all(iterator?: _.ListIterator<T, boolean>, context?: any): _Chain<T>;
all(iterator?: _.ListIterator<T, boolean>, context?: any): _ChainSingle<boolean>;
/**
* @see _.all