ClassHasPropertyFunction


Description:

[ CCode ( has_target = false ) ]
public delegate bool ClassHasPropertyFunction (Class jsc_class, Context context, void* instance, string name)

The type of has_property in ClassVTable.

This is only required when you need to handle external properties not added to the prototype.

Parameters:

jsc_class

a Class

context

a Context

instance

the jsc_class instance

name

the property name

Returns:

true if instance has a property with name or false to forward the request to the parent class or prototype chain.


Namespace: JSC



2022 vala-language.org