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

Method has

packages/joint-core/src/mvc/Data.mjs:7–10  ·  view source on GitHub ↗
(obj, key)

Source from the content-addressed store, hash-verified

5 }
6
7 has(obj, key) {
8 if (key === undefined) return this.map.has(obj);
9 return key in this.map.get(obj);
10 }
11
12 create(obj) {
13 if (!this.has(obj)) this.map.set(obj, Object.create(null));

Callers 15

createMethod · 0.95
getMethod · 0.95
removeMethod · 0.95
hasMeasuredNodeFunction · 0.45
updateStoreFunction · 0.45
useElementFunction · 0.45
layers.jsFile · 0.45
basic.jsFile · 0.45
mvc.collection.jsFile · 0.45
mvc.viewBase.jsFile · 0.45
mvc.model.jsFile · 0.45
utilHelpers.jsFile · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected