* Returns true if obj is a Buffer, an ArrayBuffer, a Blob or a File. * * @private
(obj)
| 3065 | * @private |
| 3066 | */ |
| 3067 | function isBinary(obj) { |
| 3068 | return withNativeArrayBuffer && (obj instanceof ArrayBuffer || isView(obj)) || withNativeBlob && obj instanceof Blob || withNativeFile && obj instanceof File; |
| 3069 | } |
| 3070 | function hasBinary(obj, toJSON) { |
| 3071 | if (!obj || _typeof(obj) !== "object") { |
| 3072 | return false; |
no test coverage detected