MCPcopy Create free account
hub / github.com/massCodeIO/massCode / readString

Function readString

src/main/import/snippets/snippetsLab.ts:44–47  ·  view source on GitHub ↗
(record: SnippetsLabRecord, key: string)

Source from the content-addressed store, hash-verified

42}
43
44function readString(record: SnippetsLabRecord, key: string): string | null {
45 const value = record[key]
46 return typeof value === 'string' && value.trim() ? value : null
47}
48
49function getRecordArray(record: SnippetsLabRecord, key: string) {
50 const value = record[key]

Callers 5

getContentsFunction · 0.70
visitFunction · 0.70
buildTagMapFunction · 0.70
getDescriptionFunction · 0.70
parseSnippetsLabFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected