Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/learnapollo/learnapollo
/ getTitleFromSubchapter
Function
getTitleFromSubchapter
src/utils/content.ts:179–181 ·
view source on GitHub ↗
(subchapterAlias: string)
Source
from the content-addressed store, hash-verified
177
}
178
179
export
function
getTitleFromSubchapter(subchapterAlias: string): string {
180
return
subchapters.find(c => c.alias === subchapterAlias)!.title
181
}
Callers
1
render
Method · 0.90
Calls
1
find
Method · 0.80
Tested by
no test coverage detected