Function mozjs_sys::jsapi::JS_IsDeadWrapper
source ยท pub unsafe extern "C" fn JS_IsDeadWrapper(obj: *mut JSObject) -> bool
Expand description
Determine whether the given object is backed by a DeadObjectProxy.
Such objects hold no other objects (they have no outgoing reference edges) and will throw if you touch them (e.g. by reading/writing a property).