(value: unknown)
| 97 | } |
| 98 | |
| 99 | function 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. |
no outgoing calls
no test coverage detected