13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
function isCellEmpty(cell) {
|
|
var output = { state: "init", debug: {}, error: {} };
|
|
try {
|
|
// console.log("isCellEmpty:" + cell.getValue());
|
|
var temp = cell.getValue().toString().trim();
|
|
return temp == "";
|
|
} catch (error) {
|
|
console.log("isCellEmpty error");
|
|
output = { ...output, error };
|
|
console.log(output);
|
|
}
|
|
}
|