Function JSObjectGetPrototype

Source
pub unsafe extern "C" fn JSObjectGetPrototype(
    ctx: JSContextRef,
    object: JSObjectRef,
) -> JSValueRef
Expand description

Gets an object’s prototype.

  • ctx: The execution context to use.
  • object: A JSObjectRef whose prototype you want to get.

Returns a JSValueRef that is the object’s prototype.

§See also