Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Oct 2, 2024
1 parent f9eb7f8 commit 9507607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions new-log-viewer/src/utils/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const binarySearch = (length: number, conditionFn: (index: number) => boolean):
/**
* Finds the largest index `i` in a sorted array `data` such that `data[i] <= target`. Uses binary
* search for efficiency.
*
* @param data A number array sorted in ascending order.
* @param target
* @return The largest index where `data[i] <= target`. There are 2 edge cases where returns:
Expand Down

0 comments on commit 9507607

Please sign in to comment.