1. Docs
  2. Formulas
  3. Functions

KEYS

Returns an array of keys present in the object.

Categories: Objects

Syntax

KEYS(object)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"blue": 2,
4
"green": 3,
5
"red": 1
6
}
7
}

Formula

KEYS(object)

Output

1
[
2
"red",
3
"blue",
4
"green"
5
]

Sample actions

Event Transform
My Action
Event Transform
KEYS

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?