MCPcopy Create free account
hub / github.com/devforth/painterro / createFilterString

Method createFilterString

js/filters.js:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 createFilterString() {
31 let filterString = '';
32 for (const key in this.filtersForApply) {
33 if (this.filtersForApply[key] !== 0) {
34 filterString += `${key}(${this.filtersForApply[key]}%) `;
35 }
36 }
37 return filterString;
38 }
39
40 getFilters() {
41 return this.filters.map((f)=>{

Callers 1

applyFilterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected