hasProperty property

Pointer<NativeFunction<JSObjectHasPropertyCallback>>? hasProperty
getter/setter pair

The callback invoked when determining whether an object has a property. If this field is NULL, getProperty is called instead. The hasProperty callback enables optimization in cases where only a property's existence needs to be known, not its value, and computing its value is expensive.

Implementation

Pointer<NativeFunction<JSObjectRef.JSObjectHasPropertyCallback>>? hasProperty;