MCPcopy
hub / github.com/clientIO/joint / clear

Method clear

packages/joint-core/src/util/utilHelpers.mjs:1846–1849  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1844 }
1845
1846 clear() {
1847 this.__data__ = Object.create(null);
1848 this.size = 0;
1849 }
1850
1851 delete(key) {
1852 const result = this.has(key) && delete this.__data__[key];

Callers 11

constructorMethod · 0.95
destroyFunction · 0.45
clearFunction · 0.45
destroyFunction · 0.45
createStoreDataFunction · 0.45
basic.jsFile · 0.45
graph.jsFile · 0.45
mvc.model.jsFile · 0.45
utilHelpers.jsFile · 0.45
Paper.jsFile · 0.45
puzzle.jsFile · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected