TYPE

Outputs the type (class) of the specified value.

Syntax 

TYPE(value)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "hello"
4
}
5
}

Formula

TYPE(my_action.message)

Output

"\"String\""

Example 2

Input

1
{
2
"my_action": {
3
"message": 1
4
}
5
}

Formula

TYPE(my_action.message)

Output

"\"Integer\""

Sample Actions 

Event transform
My Action
Event transform
TYPE
Event transform
My Action

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?