MCPcopy Create free account
hub / github.com/HelloCSV/HelloCSV / findRowIndex

Function findRowIndex

src/sheet/utils.ts:32–38  ·  view source on GitHub ↗
(
  allData: SheetState[],
  sheetId: string,
  row: SheetRow
)

Source from the content-addressed store, hash-verified

30}
31
32export function findRowIndex(
33 allData: SheetState[],
34 sheetId: string,
35 row: SheetRow
36) {
37 return allData.find((d) => d.sheetId === sheetId)!.rows.indexOf(row);
38}
39
40export function useFilteredRowData(
41 data: SheetState,

Callers 2

SheetDataEditorTableFunction · 0.90
useFilteredRowDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected