Home > @jview/utils > isBlob
isBlob() function
是否是 Blob 类型
Signature:
typescript
export declare function isBlob<T extends Blob>(val: unknown): val is T;
export declare function isBlob<T extends Blob>(val: unknown): val is T;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is T