Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Milkdown/website
/ isExample
Function
isExample
src/utils/title.ts:9–14 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
7
}
8
9
const
isExample = (str: string) => {
10
if
(str.toLowerCase() ===
'example'
) {
11
return
true
12
}
13
return
false
14
}
15
16
export
const
toTitle = (id: string) =>
17
id
Callers
1
toTitle
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected