Function has_property_on_prototype

Source
pub(crate) unsafe fn has_property_on_prototype(
    cx: *mut JSContext,
    proxy: Handle<'_, *mut JSObject>,
    id: Handle<'_, PropertyKey>,
    found: &mut bool,
) -> bool
Expand description

Computes whether proxy has a property id on its prototype and stores the result in found.

Returns a boolean indicating whether the check succeeded. If false is returned then the value of found is unspecified.

ยงSafety

cx must point to a valid, non-null JSContext.