(args: string | string[] | undefined)
| 204 | } |
| 205 | |
| 206 | function hasValidHeaderArgs(args: string | string[] | undefined): boolean { |
| 207 | if (typeof args === 'string') { |
| 208 | return isValidHeaderValue(args); |
| 209 | } |
| 210 | if (Array.isArray(args)) { |
| 211 | return args.every(isValidHeaderValue); |
| 212 | } |
| 213 | return false; |
| 214 | } |
| 215 | |
| 216 | function applyTransform( |
| 217 | data: TransformData, |
no test coverage detected