# BigInt Support
> Detect native [`BigInt`][mdn-bigint] support.
## Usage
```javascript
var hasBigIntSupport = require( '@stdlib/assert/has-bigint-support' );
```
#### hasBigIntSupport()
Detects if a runtime environment supports ES2020 [`BigInt`][mdn-bigint].
```javascript
var bool = hasBigIntSupport();
// returns
```
## Examples
```javascript
var hasBigIntSupport = require( '@stdlib/assert/has-bigint-support' );
if ( hasBigIntSupport() ) {
console.log( 'Environment has BigInt support.' );
} else {
console.log( 'Environment lacks BigInt support.' );
}
```
* * *
## CLI
### Usage
```text
Usage: has-bigint-support [options]
Options:
-h, --help Print this message.
-V, --version Print the package version.
```
### Examples
```bash
$ has-bigint-support
```
[mdn-bigint]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt