(input)
| 165 | } |
| 166 | |
| 167 | export function normalizeInput(input) { |
| 168 | if (Array.isArray(input)) { |
| 169 | return input; |
| 170 | } else if (typeof input === 'object') { |
| 171 | return Object.values(input); |
| 172 | } |
| 173 | |
| 174 | // otherwise it's a string |
| 175 | return [input]; |
| 176 | } |
no test coverage detected