MCPcopy Index your code
hub / github.com/anomalyco/models.dev / sentenceList

Function sentenceList

packages/web/src/render.tsx:595–599  ·  view source on GitHub ↗
(values: Array<string | undefined>)

Source from the content-addressed store, hash-verified

593}
594
595function sentenceList(values: Array<string | undefined>) {
596 const parts = values.filter((value): value is string => Boolean(value));
597 if (parts.length === 0) return undefined;
598 return parts.join("; ");
599}
600
601function factSentence(values: Array<string | undefined>, prefix = "Includes") {
602 const list = sentenceList(values);

Callers 2

factSentenceFunction · 0.85
modalitySummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected