method BufferConstructor.isBuffer
Usage in Deno
```typescript import { type BufferConstructor } from "node:node__buffer.d.ts"; ```
BufferConstructor.isBuffer(obj: any): obj is Buffer
Returns `true` if `obj` is a `Buffer`, `false` otherwise.
```js
import { Buffer } from 'node:buffer';
Buffer.isBuffer(Buffer.alloc(10)); // true
Buffer.isBuffer(Buffer.from('foo')); // true
Buffer.isBuffer('a string'); // false
Buffer.isBuffer([]); // false
Buffer.isBuffer(new Uint8Array(1024)); // false
```
obj is Buffer