isFileOrBuffer() function
Signature:
export declare function isFileOrBuffer(
data: any,
): data is File | Buffer | BufferOrStringWithName;
Parameters
Parameter | Type | Description |
---|---|---|
data | any |
Returns:
data is File | Buffer | BufferOrStringWithName
Signature:
export declare function isFileOrBuffer(
data: any,
): data is File | Buffer | BufferOrStringWithName;
Parameter | Type | Description |
---|---|---|
data | any |
Returns:
data is File | Buffer | BufferOrStringWithName