convertJSObjectHasPropertyCallback function
bool
convertJSObjectHasPropertyCallback(
- JSContextRef ctx,
- JSObjectRef object,
- JSStringRef propertyName,
- bool fn(),
Implementation
bool convertJSObjectHasPropertyCallback(
JSContextRef ctx,
JSObjectRef object,
JSStringRef propertyName,
bool Function(JSContext context, JSObject object, JSString propertyName) fn,
) {
final JSContext context = JSContext(ctx);
return fn(context, JSObject(context, object), JSString(propertyName));
}