Function mozjs::jsapi::JS::IsPromiseObject

source ยท
pub unsafe extern "C" fn IsPromiseObject(
    obj: Handle<*mut JSObject>,
) -> bool
Expand description

Returns true if the given object is an unwrapped PromiseObject, false otherwise.