hexo/node_modules/ali-oss/lib/common/utils/isBlob.ts

4 lines
98 B
TypeScript

export function isBlob(blob) {
return typeof Blob !== 'undefined' && blob instanceof Blob;
}