# Node.js Buffer Support
> Detect native [`Buffer`][node-buffer] support.
## Usage
```javascript
var hasNodeBufferSupport = require( '@stdlib/assert/has-node-buffer-support' );
```
#### hasNodeBufferSupport()
Detects if a runtime environment supports [`Buffer`][node-buffer].
```javascript
var bool = hasNodeBufferSupport();
// returns
```
## Examples
```javascript
var hasNodeBufferSupport = require( '@stdlib/assert/has-node-buffer-support' );
var bool = hasNodeBufferSupport();
if ( bool ) {
console.log( 'Environment has Buffer support.' );
} else {
console.log( 'Environment lacks Buffer support.' );
}
```
* * *
## CLI
### Usage
```text
Usage: has-node-buffer-support [options]
Options:
-h, --help Print this message.
-V, --version Print the package version.
```
### Examples
```bash
$ has-node-buffer-support
```
[node-buffer]: https://nodejs.org/api/buffer.html