ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
50 lines (24 loc) • 649 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [isFileData](./ibm-cloud-sdk-core.isfiledata.md)
## isFileData() function
**Signature:**
```typescript
export declare function isFileData(obj: any): obj is NodeJS.ReadableStream | Buffer;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
obj
</td><td>
any
</td><td>
</td></tr>
</tbody></table>
**Returns:**
obj is NodeJS.ReadableStream \| Buffer