MCPcopy
hub / github.com/exceljs/exceljs / assign

Method assign

lib/doc/table.js:132–136  ·  view source on GitHub ↗
(o, name, dflt)

Source from the content-addressed store, hash-verified

130 const {table} = this;
131 // set defaults and check is valid
132 const assign = (o, name, dflt) => {
133 if (o[name] === undefined) {
134 o[name] = dflt;
135 }
136 };
137 assign(table, 'headerRow', true);
138 assign(table, 'totalsRow', false);
139

Callers 15

exceljs.nodejs.jsFile · 0.80
constructorMethod · 0.80
findRowCellMethod · 0.80
addWorksheetMethod · 0.80
addImageMethod · 0.80
constructorMethod · 0.80
protectMethod · 0.80
constructorMethod · 0.80
protectMethod · 0.80
addImageMethod · 0.80
addWorksheetMethod · 0.80
loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected