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

Function normalizeLanguageName

src/cm/lsp/tooltipExtensions.ts:58–62  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

56>();
57
58function normalizeLanguageName(value: string): string {
59 return String(value ?? "")
60 .trim()
61 .toLowerCase();
62}
63
64function matchingModeName(a: string, b: string): boolean {
65 const normalizedA = normalizeLanguageName(a);

Callers 2

matchingModeNameFunction · 0.85
getLanguageCandidatesFunction · 0.85

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected