Swap to using eslint (#435)
* WIP * ... and more * yet more... * and examples (more-or-less) fixed * Only problematic promisify left... * Last batch * rm config header * Update * Use Record * Bumps
This commit is contained in:
@@ -18,6 +18,7 @@ import isInstanceOf from './instanceOf';
|
||||
* console.log('isBuffer', isBuffer(Buffer.from([]))); // => true
|
||||
* ```
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export default function isBuffer (value: any): value is Buffer {
|
||||
return isInstanceOf(value, Buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user