blob: 1b685fad40bc766eaffb3fb494f5f3ae9f50cb63 (
plain)
1
2
3
4
5
6
7
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Node's implementation checks for a symbol they put in the blob prototype
// Since the implementation of Blob is Deno's, the only option is to check the
// objects constructor
export function isBlob(object) {
return object instanceof Blob;
}
|