Function quickjs_runtime::quickjs_utils::promises::is_promise

source ·
pub unsafe fn is_promise(
    context: *mut JSContext,
    obj_ref: &QuickJsValueAdapter,
) -> bool
Expand description

§Safety

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