```typescript
import { isRegExp } from "node:node__util--types.d.ts";
```
isRegExp(object: unknown): object is RegExp
Returns `true` if the value is a regular expression object.
```js
util.types.isRegExp(/abc/); // Returns true
util.types.isRegExp(new RegExp('abc')); // Returns true
```