isRegExp

open override fun isRegExp(obj: Scriptable?): Boolean(source)

Whether obj has a pattern, as a RegExp has and RegExp.prototype has not.