> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/object/objectkeys.md).

# objectKeys

## Description

Given an object of key-value pairs, the `objectKeys` function will return an array of the keys.

## Input / Parameter

| Name   | Description                 | Input Type | Default | Options | Required |
| ------ | --------------------------- | ---------- | ------- | ------- | -------- |
| object | Object with key-value pairs | Object     | -       | -       | Yes      |

## Output

| Description                              | Output Type |
| ---------------------------------------- | ----------- |
| Returns a list of all keys in the object | Array/List  |

## Callback

N/A

## Video

Coming Soon.

## Example

![](/files/WIcQj7yZd6N0YhOv3slq)

Given the above object, `objectKeys` function will return this list:

```JS
["name", "email", "age", "tel"]
```

## Links

* See also `objectValues` and `objectAttr`
