filestack-js
Version:
Official JavaScript library for Filestack
15 lines (14 loc) • 414 B
TypeScript
/**
* Determine if a value is a Buffer
*
* @param {Object} val The value to test
* @returns {boolean} True if value is a Buffer, otherwise false
*/
export declare const isBuffer: (val: any) => boolean;
/**
* Determine if a value is a Stream
*
* @param {Object} val The value to test
* @returns {boolean} True if value is a Stream, otherwise false
*/
export declare const isStream: (val: any) => boolean;