MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / toRuntimeId

Function toRuntimeId

src/cm/lsp/runtimeSettings.ts:12–17  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

10}
11
12function toRuntimeId(value: unknown): string | null {
13 const id = String(value ?? "")
14 .trim()
15 .toLowerCase();
16 return id || null;
17}
18
19function getRuntimeSettings(): RuntimeSettings {
20 const runtime = appSettings.value?.lsp?.runtime;

Callers 6

getConfiguredRuntimeIdFunction · 0.85
setDefaultRuntimeFunction · 0.85
setServerRuntimeFunction · 0.85
getDefaultRuntimeSettingFunction · 0.85
getServerRuntimeSettingFunction · 0.85

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected