isRegExpRaw

external fun isRegExpRaw(value: Any?): Boolean(source)

Returns true if the value is a regular expression object.

util.types.isRegExp(/abc/);  // Returns true
util.types.isRegExp(new RegExp('abc')); // Returns true

Since

v10.0.0