11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
function readCell(cell) {
|
|
var output = { state: "init", debug: {}, error: {} };
|
|
|
|
try {
|
|
return cell.getValue() || "";
|
|
} catch (error) {
|
|
output = {...output, err: error}
|
|
console.log(error);
|
|
}
|
|
}
|