Function JSObjectCopyPropertyNames

Source
pub unsafe extern "C" fn JSObjectCopyPropertyNames(
    ctx: JSContextRef,
    object: JSObjectRef,
) -> JSPropertyNameArrayRef
Expand description

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.

Returns a JSPropertyNameArrayRef containing the names of object’s enumerable properties. Ownership follows the Create Rule.

§See also