@@ -1537,7 +1537,7 @@ interface Int8Array {
15371537 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
15381538
15391539 /**
1540- * Returns the index of the first element in the array where predicate is true, and undefined
1540+ * Returns the index of the first element in the array where predicate is true, and -1
15411541 * otherwise.
15421542 * @param predicate find calls predicate once for each element of the array, in ascending
15431543 * order, until it finds one where predicate returns true. If such an element is found,
@@ -1810,7 +1810,7 @@ interface Uint8Array {
18101810 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
18111811
18121812 /**
1813- * Returns the index of the first element in the array where predicate is true, and undefined
1813+ * Returns the index of the first element in the array where predicate is true, and -1
18141814 * otherwise.
18151815 * @param predicate find calls predicate once for each element of the array, in ascending
18161816 * order, until it finds one where predicate returns true. If such an element is found,
@@ -2084,7 +2084,7 @@ interface Uint8ClampedArray {
20842084 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
20852085
20862086 /**
2087- * Returns the index of the first element in the array where predicate is true, and undefined
2087+ * Returns the index of the first element in the array where predicate is true, and -1
20882088 * otherwise.
20892089 * @param predicate find calls predicate once for each element of the array, in ascending
20902090 * order, until it finds one where predicate returns true. If such an element is found,
@@ -2357,7 +2357,7 @@ interface Int16Array {
23572357 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
23582358
23592359 /**
2360- * Returns the index of the first element in the array where predicate is true, and undefined
2360+ * Returns the index of the first element in the array where predicate is true, and -1
23612361 * otherwise.
23622362 * @param predicate find calls predicate once for each element of the array, in ascending
23632363 * order, until it finds one where predicate returns true. If such an element is found,
@@ -2631,7 +2631,7 @@ interface Uint16Array {
26312631 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
26322632
26332633 /**
2634- * Returns the index of the first element in the array where predicate is true, and undefined
2634+ * Returns the index of the first element in the array where predicate is true, and -1
26352635 * otherwise.
26362636 * @param predicate find calls predicate once for each element of the array, in ascending
26372637 * order, until it finds one where predicate returns true. If such an element is found,
@@ -2904,7 +2904,7 @@ interface Int32Array {
29042904 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
29052905
29062906 /**
2907- * Returns the index of the first element in the array where predicate is true, and undefined
2907+ * Returns the index of the first element in the array where predicate is true, and -1
29082908 * otherwise.
29092909 * @param predicate find calls predicate once for each element of the array, in ascending
29102910 * order, until it finds one where predicate returns true. If such an element is found,
@@ -3177,7 +3177,7 @@ interface Uint32Array {
31773177 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
31783178
31793179 /**
3180- * Returns the index of the first element in the array where predicate is true, and undefined
3180+ * Returns the index of the first element in the array where predicate is true, and -1
31813181 * otherwise.
31823182 * @param predicate find calls predicate once for each element of the array, in ascending
31833183 * order, until it finds one where predicate returns true. If such an element is found,
@@ -3450,7 +3450,7 @@ interface Float32Array {
34503450 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
34513451
34523452 /**
3453- * Returns the index of the first element in the array where predicate is true, and undefined
3453+ * Returns the index of the first element in the array where predicate is true, and -1
34543454 * otherwise.
34553455 * @param predicate find calls predicate once for each element of the array, in ascending
34563456 * order, until it finds one where predicate returns true. If such an element is found,
@@ -3724,7 +3724,7 @@ interface Float64Array {
37243724 find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
37253725
37263726 /**
3727- * Returns the index of the first element in the array where predicate is true, and undefined
3727+ * Returns the index of the first element in the array where predicate is true, and -1
37283728 * otherwise.
37293729 * @param predicate find calls predicate once for each element of the array, in ascending
37303730 * order, until it finds one where predicate returns true. If such an element is found,
0 commit comments