isRegExp
isRegExp(
value):value is RegExp
Defined in: packages/core/src/guards/is-regexp.ts:10
Check if a value is a RegExp.
Realm-bound: a RegExp built in another realm (worker, iframe, vm context)
is not recognised.
Parameters
Section titled “Parameters”unknown
The value to check
Returns
Section titled “Returns”value is RegExp
True if the value is a RegExp