script::dom::bindings::utils

Function is_platform_object_dynamic

Source
pub(crate) fn is_platform_object_dynamic(
    obj: *mut JSObject,
    cx: *mut JSContext,
) -> bool
Expand description

Returns wether obj is a platform object using dynamic unwrap https://heycam.github.io/webidl/#dfn-platform-object