JSObjectCopyPropertyNames top-level property

JSPropertyNameArrayRef Function(JSContextRef ctx, JSObjectRef object) JSObjectCopyPropertyNames
final

Gets the names of an object's enumerable properties. ctx The execution context to use. object The object whose property names you want to get. @result A JSPropertyNameArray containing the names object's enumerable properties. Ownership follows the Create Rule.

Implementation

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