(s, o)
| 41423 | credentials: u, |
| 41424 | }).then((s) => s.body) |
| 41425 | } |
| 41426 | function isFile(s, o) { |
| 41427 | return ( |
| 41428 | o || 'undefined' == typeof navigator || (o = navigator), |
| 41429 | o && 'ReactNative' === o.product |
| 41430 | ? !(!s || 'object' != typeof s || 'string' != typeof s.uri) |
| 41431 | : ('undefined' != typeof File && s instanceof File) || |
| 41432 | ('undefined' != typeof Blob && s instanceof Blob) || |
| 41433 | !!ArrayBuffer.isView(s) || |
| 41434 | (null !== s && 'object' == typeof s && 'function' == typeof s.pipe) |
| 41435 | ) |
| 41436 | } |
| 41437 | function isArrayOfFile(s, o) { |
| 41438 | return Array.isArray(s) && s.some((s) => isFile(s, o)) |
no outgoing calls
no test coverage detected