Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avoidwork/tiny-graph
/ getNodeValue
Method
getNodeValue
lib/tiny-graph.js:93–102 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
91
}
92
93
getNodeValue (x) {
94
const
n = this.nodes[x];
95
let
result;
96
97
if
(defined(n)) {
98
result = n.value;
99
}
100
101
return
result;
102
}
103
104
neighbors (x) {
105
const
n = this.nodes[x];
Callers
nothing calls this directly
Calls
1
defined
Function · 0.70
Tested by
no test coverage detected