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

Function hasData

src/utils/functional.ts:19–24  ·  view source on GitHub ↗
(row: Record<string, any>)

Source from the content-addressed store, hash-verified

17}
18
19export function hasData(row: Record<string, any>) {
20 const data = { ...row };
21 delete data.rowIndex;
22 const values = Object.values(data);
23 return values.length > 0;
24}

Callers 2

transformSheetFunction · 0.90
validateSheetFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected