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