Skip to main content

JS_GetPrototype

Function JS_GetPrototype 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_GetPrototype( ctx: *mut JsContext, val: JsValue, ) -> JsValue
Expand description

JS_GetPrototype: [[GetPrototypeOf]], or null for an object with none.

ยงSafety

val must be a live JSValue.