ClassHasPropertyFunction
typealias ClassHasPropertyFunction = (jscClass: Class, context: Context, <Error class: unknown class>?, name: String) -> Boolean
The type of has_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
param
jscClass
a #JSCClassparam
context
a #JSCContextparam
instance
the @jsc_class instanceparam
name
the property namereturn true if @instance has a property with @name or false to forward the request to the parent class or prototype chain.