MCPcopy
hub / github.com/exceljs/exceljs / removeConditionalFormatting

Method removeConditionalFormatting

lib/doc/worksheet.js:835–843  ·  view source on GitHub ↗
(filter)

Source from the content-addressed store, hash-verified

833 }
834
835 removeConditionalFormatting(filter) {
836 if (typeof filter === 'number') {
837 this.conditionalFormattings.splice(filter, 1);
838 } else if (filter instanceof Function) {
839 this.conditionalFormattings = this.conditionalFormattings.filter(filter);
840 } else {
841 this.conditionalFormattings = [];
842 }
843 }
844
845 // ===========================================================================
846 // Deprecated

Callers

nothing calls this directly

Calls 1

spliceMethod · 0.65

Tested by

no test coverage detected