# isRegExp
> Test if a value is a regular expression.
## Usage
```javascript
var isRegExp = require( '@stdlib/assert/is-regexp' );
```
#### isRegExp( value )
Tests if a `value` is a regular expression.
```javascript
var bool = isRegExp( /.+/ );
// returns true
bool = isRegExp( {} );
// returns false
```
## Examples
```javascript
var isRegExp = require( '@stdlib/assert/is-regexp' );
var bool = isRegExp( /.+/ );
// returns true
bool = isRegExp( new RegExp( '.+' ) );
// returns true
bool = isRegExp( '/.+/' );
// returns false
bool = isRegExp( {} );
// returns false
bool = isRegExp( null );
// returns false
```