JSObjectGetPrototype top-level property

JSValueRef Function(JSContextRef ctx, JSObjectRef object) JSObjectGetPrototype
final

Gets an object's prototype. ctx (JSContextRef) The execution context to use. object (JSObjectRef) A JSObject whose prototype you want to get. @result (JSValueRef) A JSValue that is the object's prototype.

Implementation

final JSValueRef Function(JSContextRef ctx, JSObjectRef object)
JSObjectGetPrototype =
    kLookup<NativeFunction<JSValueRef Function(JSContextRef, JSObjectRef)>>(
      'JSObjectGetPrototype',
    ).asFunction();