Checks if the given value is a Blob (opens in a new tab).
Syntax
import { isBlob } from '@opentf/std';
isBlob(val: unknown): boolean;
Examples
isBlob(new Blob()) //=> true
isBlob({}) //=> false
Checks if the given value is a Blob (opens in a new tab).
import { isBlob } from '@opentf/std';
isBlob(val: unknown): boolean;
isBlob(new Blob()) //=> true
isBlob({}) //=> false