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