| 867 | bool QuickJSJavaScriptContext::hasObjectProperty(const Valdi::JSValue& object, |
| 868 | const Valdi::JSPropertyName& propertyName) { |
| 869 | auto guard = _threadAccessChecker.guard(); |
| 870 | return JS_HasProperty(_context, fromValdiJSValue(object), fromValdiJSPropertyName(propertyName)) != 0; |
| 871 | } |
| 872 | |
| 873 | void QuickJSJavaScriptContext::setObjectProperty(const Valdi::JSValue& object, |
| 874 | const std::string_view& propertyName, |
| 875 | const Valdi::JSValue& propertyValue, |
| 876 | bool enumerable, |
nothing calls this directly
no test coverage detected