(value: string | null | undefined)
| 294 | * undefined when no usable entries remain. |
| 295 | */ |
| 296 | export 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 |
no outgoing calls
no test coverage detected