pub unsafe extern "C-unwind" fn JSObjectCopyPropertyNames(
ctx: JSContextRef,
object: JSObjectRef,
) -> JSPropertyNameArrayRefAvailable on crate features
JSBase and JSObjectRef 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.
§Safety
ctxmust be a valid pointer.objectmust be a valid pointer.