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

Function getRecordArray

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

Source from the content-addressed store, hash-verified

97}
98
99function getRecordArray(value: unknown): JsonRecord[] {
100 if (!Array.isArray(value)) return []
101 return value.filter(isRecordLike)
102}
103
104/**
105 * Extracts a human-readable error message from a Vanta API error body.

Calls

no outgoing calls

Tested by

no test coverage detected