4.4 JSCClassHasPropertyFunction

Callback: JSCClassHasPropertyFunction

A procedure given for it is called as (procedure jsc-class context instance name) ⇒ %return.

The type of has_property in JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

jsc-class

Passed: a <JSCClass>.

a <JSCClass>

context

Passed: a <JSCContext>.

a <JSCContext>

instance

Passed: a foreign pointer, or #f.

the jsc-class instance

name

Passed: a string.

the property name

%return

Returned: a boolean.

#t if instance has a property with name or #f to forward the request to the parent class or prototype chain.