IS_EMPTY
Returns true if a value is empty ie. `""`, `[]`, `{}` and false otherwise. Target value must be text, array, or an object. See also [`IS_BLANK`](https://www.tines.com/docs/formulas/functions/is-blank).
Categories: Text, Objects, Arrays
Syntax
IS_EMPTY(text | array | object)
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": false
3
}
Sample actions
Select an action to inspect
You can also click "Copy actions" and paste them in your Tines story to see how they work.