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

4 lines
98 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
export function isBlob(blob) {
return typeof Blob !== 'undefined' && blob instanceof Blob;
}