# 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

![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-551f1f923cb4070fc777054f36789381660c1019%2FobjectKeys-step-1.png?alt=media)

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

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

## Links

* See also `objectValues` and `objectAttr`
