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

Function filterEmptyRows

src/utils/index.ts:24–26  ·  view source on GitHub ↗
(state: SheetState)

Source from the content-addressed store, hash-verified

22export const isPresent = (a: any) => !isUndefinedOrNull(a);
23
24export const filterEmptyRows = (state: SheetState) => {
25 return state.rows.filter((d) => Object.keys(d).length > 0);
26};
27
28export function isEmptyCell(value: any): boolean {
29 if (isUndefinedOrNull(value)) {

Callers 2

getSubmittedSheetDataFunction · 0.85
index.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected