Function JSObjectCopyPropertyNames

Source
pub unsafe extern "C-unwind" fn JSObjectCopyPropertyNames(
    ctx: JSContextRef,
    object: JSObjectRef,
) -> JSPropertyNameArrayRef
Available on crate features JSObjectRef and JSBase only.
Expand description

Gets the names of an object’s enumerable properties.

Parameter ctx: The execution context to use.

Parameter object: The object whose property names you want to get.

Returns: A JSPropertyNameArray containing the names object’s enumerable properties. Ownership follows the Create Rule.