MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / stringValue

Function stringValue

scripts/web-env/shared.ts:44–46  ·  view source on GitHub ↗
(record: JsonRecord, key: string)

Source from the content-addressed store, hash-verified

42}
43
44function records(value: unknown): JsonRecord[] {
45 return Array.isArray(value) ? value.filter(isRecord) : [];
46}
47
48function stringValue(record: JsonRecord, key: string): string | undefined {
49 return typeof record[key] === 'string' ? record[key] : undefined;

Callers 4

resolveVercelContextsFunction · 0.85
resolveVaultFunction · 0.85
setAuditNoteFunction · 0.85
setVaultValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected