We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dcd587 commit cdb0fb3Copy full SHA for cdb0fb3
src/lib/es2015.core.d.ts
@@ -13,7 +13,7 @@ interface Array<T> {
13
find(predicate: (value: T, index: number, obj: Array<T>) => boolean, thisArg?: any): T | undefined;
14
15
/**
16
- * Returns the index of the first element in the array where predicate is true, and undefined
+ * Returns the index of the first element in the array where predicate is true, and -1
17
* otherwise.
18
* @param predicate find calls predicate once for each element of the array, in ascending
19
* order, until it finds one where predicate returns true. If such an element is found,
0 commit comments