MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / loadLanguage

Function loadLanguage

extensions/langs/src/index.ts:344–346  ·  view source on GitHub ↗
(name: LanguageName)

Source from the content-addressed store, hash-verified

342
343export type LanguageName = keyof typeof langs;
344export function loadLanguage(name: LanguageName) {
345 return langs[name] ? langs[name]() : null;
346}

Callers 2

LangsExampleFunction · 0.85
index.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…