function rowIndex<TRow>(rows: readonly TRow[] | undefined, keyOf: (row: TRow) => string, key: string): number; The index of the row with key in rows, or -1.
rowIndex functionfunction rowIndex<TRow>(rows: readonly TRow[] | undefined, keyOf: (row: TRow) => string, key: string): number; The index of the row with key in rows, or -1.