MCPcopy
hub / github.com/exceljs/exceljs / removeWorksheet

Method removeWorksheet

lib/doc/workbook.js:100–105  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

98 }
99
100 removeWorksheet(id) {
101 const worksheet = this.getWorksheet(id);
102 if (worksheet) {
103 worksheet.destroy();
104 }
105 }
106
107 getWorksheet(id) {
108 if (id === undefined) {

Callers

nothing calls this directly

Calls 2

getWorksheetMethod · 0.95
destroyMethod · 0.65

Tested by

no test coverage detected