Skip to content

Commit

Permalink
Fix a too long line
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed May 23, 2024
1 parent 652c603 commit aa87162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/utilities/fast-web-utilities/src/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
* Returns the index of the last element in the array where predicate is true, and -1 otherwise.
*
* @param array - the array to test
* @param predicate - find calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLastIndex immediately returns that element index. Otherwise, findIndex returns -1.
* @param predicate - find calls predicate once for each element of the array, in descending order,
* until it finds one where predicate returns true. If such an element is found, findLastIndex immediately returns that element index.
* Otherwise, findIndex returns -1.
*/
export function findLastIndex<T>(
array: Array<T>,
Expand Down

0 comments on commit aa87162

Please sign in to comment.