Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RtlZeroMemory/Rezi
/ getNodeId
Function
getNodeId
packages/core/src/debug/debug.ts:53–59 ·
view source on GitHub ↗
(node: VNode)
Source
from the content-addressed store, hash-verified
51
}
52
53
function
getNodeId(node: VNode): string | null {
54
if
(
"props"
in node) {
55
const
id = (node as { props: { id?: unknown } }).props?.id;
56
if
(typeof id ===
"string"
)
return
id;
57
}
58
return
null;
59
}
Callers
1
debug
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected