pub(crate) unsafe fn get_dom_class( obj: *mut JSObject, ) -> Result<&'static DOMClass, ()>
Get the DOMClass from obj, or Err(()) if obj is not a DOM object.
DOMClass
obj
Err(())
obj must point to a valid, non-null JS object.