Function script::dom::bindings::import::module::jsapi::JS::GetPromiseIsHandled

source ·
pub unsafe extern "C" fn GetPromiseIsHandled(
    promise: Handle<*mut JSObject>,
) -> bool
Expand description

Returns whether the given promise’s rejection is already handled or not.

The caller must check the given promise is rejected before checking it’s handled or not.