MCPcopy
hub / github.com/lutzroeder/netron / get

Method get

source/python.js:47–49  ·  view source on GitHub ↗
(key, defaultValue)

Source from the content-addressed store, hash-verified

45 this.delete(key);
46 }
47 get(key, defaultValue) {
48 return super.has(key) ? super.get(key) : defaultValue;
49 }
50 setdefault(key, defaultValue) {
51 if (this.has(key)) {
52 return this.get(key);

Callers

nothing calls this directly

Calls 3

hasMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected