JSObjectGetPrototype top-level property

JSValueRef Function(JSContextRef ctx, JSObjectRef object) JSObjectGetPrototype
final

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

Implementation

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