* Safely assert whether the given value is a Blob. * * In some execution environments Blob is not defined.
(value: any)
| 42 | * In some execution environments Blob is not defined. |
| 43 | */ |
| 44 | function isBlob(value: any): value is Blob { |
| 45 | return typeof Blob !== 'undefined' && value instanceof Blob; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Safely assert whether the given value is a FormData instance. |
no outgoing calls
no test coverage detected
searching dependent graphs…