MCPcopy
hub / github.com/liriliri/eruda / get

Function get

src/eruda.js:100–108  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

98 Snippets,
99 Settings,
100 get(name) {
101 if (!this._checkInit()) return
102
103 if (name === 'entryBtn') return this._entryBtn
104
105 const devTools = this._devTools
106
107 return name ? devTools.get(name) : devTools
108 },
109 add(tool) {
110 if (!this._checkInit()) return
111

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected