Skip to content

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

ParameterTypeDescription
valunknown

Returns:

val is T