Function mozjs::jsapi::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.