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

Function normalizeServerId

src/settings/lspConfigUtils.js:8–12  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

6}
7
8export function normalizeServerId(id) {
9 return String(id || "")
10 .trim()
11 .toLowerCase();
12}
13
14export function normalizeLanguages(value) {
15 if (Array.isArray(value)) {

Callers 5

callbackFunction · 0.90
getServerOverrideFunction · 0.85
updateServerConfigFunction · 0.85
upsertCustomServerFunction · 0.85
removeCustomServerFunction · 0.85

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected