Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ get
Method
get
lib/internal/mime.js:154–161 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
152
}
153
154
get(name) {
155
this.#parse();
156
const
data = this.#data;
157
if
(data.has(name)) {
158
return
data.get(name);
159
}
160
return
null;
161
}
162
163
has(name) {
164
this.#parse();
Callers
nothing calls this directly
Calls
3
#parse
Method · 0.95
has
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected