hasInstance

open override fun hasInstance(instance: Scriptable): Boolean

The instanceof operator for function objects: true when this function's prototype property is somewhere in instance's prototype chain.