Skip to content

Commit 52c00da

Browse files
committed
Working blob detection.
1 parent 04d8ee2 commit 52c00da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function isBlob(value: any): value is Blob {
2-
return value instanceof Blob;
2+
return value.constructor.name === 'Blob'
33
}

0 commit comments

Comments
 (0)