quickjs_runtime::quickjs_utils::objects

Function is_instance_of_by_name

source
pub unsafe fn is_instance_of_by_name(
    context: *mut JSContext,
    obj_ref: &QuickJsValueAdapter,
    constructor_name: &str,
) -> Result<bool, JsError>
Expand description

ยงSafety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid