Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
create
Method · 0.95
get
Method · 0.95
remove
Method · 0.95
hasMeasuredNode
Function · 0.45
updateStore
Function · 0.45
useElement
Function · 0.45
layers.js
File · 0.45
basic.js
File · 0.45
mvc.collection.js
File · 0.45
mvc.viewBase.js
File · 0.45
mvc.model.js
File · 0.45
utilHelpers.js
File · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected