Returns the indexes of empty rows.
The ExcelJS worksheet.
A promise that resolves to an array of 1-based row indexes that are empty.
const emptyRows = await getEmptyRows(worksheet);console.log(`Found ${emptyRows.length} empty rows`); Copy
const emptyRows = await getEmptyRows(worksheet);console.log(`Found ${emptyRows.length} empty rows`);
Returns the indexes of empty rows.