MCPcopy Create free account
hub / github.com/simstudioai/sim / splitVantaCommaList

Function splitVantaCommaList

apps/sim/tools/vanta/utils.ts:296–303  ·  view source on GitHub ↗
(value: string | null | undefined)

Source from the content-addressed store, hash-verified

294 * undefined when no usable entries remain.
295 */
296export function splitVantaCommaList(value: string | null | undefined): string[] | undefined {
297 if (!value) return undefined
298 const entries = value
299 .split(',')
300 .map((entry) => entry.trim())
301 .filter(Boolean)
302 return entries.length > 0 ? entries : undefined
303}
304
305/**
306 * Unwraps the `{ results: { data, pageInfo } }` envelope that every Vanta

Callers 1

buildVantaApiRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected