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

Function getStringArray

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

Source from the content-addressed store, hash-verified

92}
93
94function getStringArray(value: unknown): string[] {
95 if (!Array.isArray(value)) return []
96 return value.filter((entry): entry is string => typeof entry === 'string')
97}
98
99function getRecordArray(value: unknown): JsonRecord[] {
100 if (!Array.isArray(value)) return []

Callers 9

normalizeVantaControlFunction · 0.70
normalizeVantaTestFunction · 0.70
normalizeVantaPersonFunction · 0.70
normalizeVantaVendorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected