MCPcopy
hub / github.com/exceljs/exceljs / getEffectiveCellType

Function getEffectiveCellType

lib/xlsx/xform/sheet/cell-xform.js:36–43  ·  view source on GitHub ↗
(cell)

Source from the content-addressed store, hash-verified

34}
35
36function getEffectiveCellType(cell) {
37 switch (cell.type) {
38 case Enums.ValueType.Formula:
39 return getValueType(cell.result);
40 default:
41 return cell.type;
42 }
43}
44
45class CellXform extends BaseXform {
46 constructor() {

Callers 1

prepareMethod · 0.85

Calls 1

getValueTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…