jSObjectGetPrototype top-level property
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 Pointer Function(Pointer ctx, Pointer object) jSObjectGetPrototype =
jscLib
.lookup<NativeFunction<Pointer Function(Pointer, Pointer)>>(
'JSObjectGetPrototype')
.asFunction();