@@ -1537,7 +1537,7 @@ interface Int8Array {
1537
1537
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
1538
1538
1539
1539
/**
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
1541
1541
* otherwise.
1542
1542
* @param predicate find calls predicate once for each element of the array, in ascending
1543
1543
* order, until it finds one where predicate returns true. If such an element is found,
@@ -1810,7 +1810,7 @@ interface Uint8Array {
1810
1810
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
1811
1811
1812
1812
/**
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
1814
1814
* otherwise.
1815
1815
* @param predicate find calls predicate once for each element of the array, in ascending
1816
1816
* order, until it finds one where predicate returns true. If such an element is found,
@@ -2084,7 +2084,7 @@ interface Uint8ClampedArray {
2084
2084
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
2085
2085
2086
2086
/**
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
2088
2088
* otherwise.
2089
2089
* @param predicate find calls predicate once for each element of the array, in ascending
2090
2090
* order, until it finds one where predicate returns true. If such an element is found,
@@ -2357,7 +2357,7 @@ interface Int16Array {
2357
2357
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
2358
2358
2359
2359
/**
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
2361
2361
* otherwise.
2362
2362
* @param predicate find calls predicate once for each element of the array, in ascending
2363
2363
* order, until it finds one where predicate returns true. If such an element is found,
@@ -2631,7 +2631,7 @@ interface Uint16Array {
2631
2631
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
2632
2632
2633
2633
/**
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
2635
2635
* otherwise.
2636
2636
* @param predicate find calls predicate once for each element of the array, in ascending
2637
2637
* order, until it finds one where predicate returns true. If such an element is found,
@@ -2904,7 +2904,7 @@ interface Int32Array {
2904
2904
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
2905
2905
2906
2906
/**
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
2908
2908
* otherwise.
2909
2909
* @param predicate find calls predicate once for each element of the array, in ascending
2910
2910
* order, until it finds one where predicate returns true. If such an element is found,
@@ -3177,7 +3177,7 @@ interface Uint32Array {
3177
3177
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
3178
3178
3179
3179
/**
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
3181
3181
* otherwise.
3182
3182
* @param predicate find calls predicate once for each element of the array, in ascending
3183
3183
* order, until it finds one where predicate returns true. If such an element is found,
@@ -3450,7 +3450,7 @@ interface Float32Array {
3450
3450
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
3451
3451
3452
3452
/**
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
3454
3454
* otherwise.
3455
3455
* @param predicate find calls predicate once for each element of the array, in ascending
3456
3456
* order, until it finds one where predicate returns true. If such an element is found,
@@ -3724,7 +3724,7 @@ interface Float64Array {
3724
3724
find ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number | undefined ;
3725
3725
3726
3726
/**
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
3728
3728
* otherwise.
3729
3729
* @param predicate find calls predicate once for each element of the array, in ascending
3730
3730
* order, until it finds one where predicate returns true. If such an element is found,
0 commit comments