script::dom::bindings::conversions

Function is_dom_proxy

Source
pub(crate) unsafe fn is_dom_proxy(obj: *mut JSObject) -> bool
Expand description

Returns whether obj is a DOM object implemented as a proxy.

§Safety

obj must point to a valid, non-null JS object.