Function mozjs_sys::jsapi::JS::IsPromiseObject

source ยท
pub unsafe extern "C" fn IsPromiseObject(obj: HandleObject) -> bool
Expand description

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