Define some and any for an object

This commit is contained in:
Kenneth Kolstad committed 2014-06-03 09:57:57 -07:00
1 parent 9ff1cf69b3
commit b740252f30
1 file changed
+16
+16
View File
@@ -3933,6 +3933,14 @@ declare module _ {
callback?: ListIterator<T, boolean>,
thisArg?: any): boolean;
/**
* @see _.some
**/
some(
collection: {},
callback?: ListIterator<{}, boolean>,
thisArg?: any): boolean;
/**
* @see _.some
* @param pluckValue _.pluck style callback
@@ -4005,6 +4013,14 @@ declare module _ {
callback?: ListIterator<T, boolean>,
thisArg?: any): boolean;
/**
* @see _.some
**/
any(
collection: {},
callback?: ListIterator<{}, boolean>,
thisArg?: any): boolean;
/**
* @see _.some
* @param pluckValue _.pluck style callback