MCPcopy 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
9const isExample = (str: string) => {
10 if (str.toLowerCase() === 'example') {
11 return true
12 }
13 return false
14}
15
16export const toTitle = (id: string) =>
17 id

Callers 1

toTitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected