Function js::jsapi::IsPromiseObject [] [src]

pub unsafe extern "C" fn IsPromiseObject(obj: HandleObject) -> bool

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