```typescript
import { types } from "node:node__util.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
```