Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fontsource/fontsource
/ nodeName
Function
nodeName
website/app/utils/docs/navigation.ts:20–20 ·
view source on GitHub ↗
(node: { name?: ReactNode })
Source
from the content-addressed store, hash-verified
18
}
19
20
const
nodeName = (node: { name?: ReactNode }) => String(node.name ??
''
);
21
22
const
isPage = (node: PageTree.Node): node is PageTree.Item =>
23
node.
type
===
'page'
;
Callers
1
visit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected