IS_EMPTY

Returns true if a value is empty ie. "", [], {} and false otherwise

Syntax 

IS_EMPTY(any)

Usage examples 

Example 1

Input

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

Formula

IS_EMPTY(my_action.value1)

Output

1
{
2
"value1": true
3
}

Example 2

Input

1
{
2
"my_action": {
3
"value2": []
4
}
5
}

Formula

IS_EMPTY(my_action.value2)

Output

1
{
2
"value2": true
3
}

Example 3

Input

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

Formula

IS_EMPTY(my_action.value3)

Output

1
{
2
"value3": true
3
}

Example 4

Input

1
{
2
"my_action": {
3
"value4": "Hello World"
4
}
5
}

Formula

IS_EMPTY(my_action.value4)

Output

1
{
2
"value4": true
3
}

Sample Actions 

Event transform
My Action
Event transform
IS_EMPTY

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?