update,
This commit is contained in:
12
task1/utils/isCellEmpty.js
Normal file
12
task1/utils/isCellEmpty.js
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user