mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-08 13:28:08 +00:00
Add finalized block info (#104)
This commit is contained in:
@@ -50,7 +50,7 @@ export function sortedInsert<T>(item: T, into: Array<T>, compare: Compare<T>): n
|
||||
*
|
||||
* @return {number} index of the element, `-1` if not found
|
||||
*/
|
||||
export function sortedIndexOf<T>(item:T, within: Array<T>, compare: Compare<T>): number {
|
||||
export function sortedIndexOf<T>(item: T, within: Array<T>, compare: Compare<T>): number {
|
||||
if (within.length === 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user