Function

JSObjectCopyPropertyNames(_:_:)

Gets the names of an object’s enumerable properties.

Declaration

func JSObjectCopyPropertyNames(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSPropertyNameArrayRef!

Parameters

ctx

The execution context to use.

object

The object whose property names you want to get.

Return Value

A JSPropertyNameArray containing the names object's enumerable properties. Ownership follows the Create Rule.