MCPcopy Create free account
hub / github.com/ACM-VIT/conclave / normalizeLanguage

Function normalizeLanguage

apps/web/transcript-worker/src/utils.ts:59–62  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

57 : DEFAULT_TRANSCRIPTION_DELAY;
58};
59
60export const normalizeRequestId = (value: unknown): string | undefined =>
61 typeof value === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(value)
62 ? value
63 : undefined;
64
65export const normalizeLanguage = (value: unknown): string => {

Callers 1

startSessionMethod · 0.90

Calls 1

toStringValueFunction · 0.85

Tested by

no test coverage detected