Contents

JSObjectGetPrototype(_:_:)

Gets an object’s prototype.

Declaration

func JSObjectGetPrototype(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSValueRef!

Parameters

  • ctx:

    The execution context to use.

  • object:

    A Jsobjectref with the prototype you want to get.

Return Value

A JSValueRef that is the object’s prototype.

See Also

Working with Objects