(lang: string, chapter: string)
| 13 | export const CODE_FILES: Record<string, string> = codeData.codeFiles; |
| 14 | |
| 15 | export function getCodeContent(lang: string, chapter: string): string | undefined { |
| 16 | return CODE_FILES[`${lang}/${chapter}`]; |
| 17 | } |
| 18 | |
| 19 | export function getFirstChapter(lang: string): string | undefined { |
| 20 | return CODE_MANIFEST[lang]?.chapters[0]; |
no outgoing calls
no test coverage detected