MCPcopy Index your code
hub / github.com/simstudioai/sim / asVantaRecord

Function asVantaRecord

apps/sim/tools/vanta/utils.ts:78–80  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

76 * normalizers can run on it; non-object bodies normalize to all-null fields.
77 */
78export function asVantaRecord(value: unknown): JsonRecord {
79 return isRecordLike(value) ? value : {}
80}
81
82function getString(value: unknown): string | null {
83 return typeof value === 'string' ? value : null

Callers 2

buildVantaOutputFunction · 0.90
route.tsFile · 0.90

Calls 1

isRecordLikeFunction · 0.90

Tested by

no test coverage detected