IS_PRESENT
Returns true unless blank. The result is false for any of FALSE, "", [], {}, NULL, and true otherwise
Categories: Text, Objects, Arrays, Logic, Numbers
Syntax
IS_PRESENT(any)
Examples
Example 1
Input
1
{
2
"my_action": {
3
"value1": ""
4
}
5
}
Formula
IS_PRESENT(my_action.value1)
Output
1
{
2
"value1": false
3
}
Example 2
Input
1
{
2
"my_action": {
3
"value2": false
4
}
5
}
Formula
IS_PRESENT(my_action.value2)
Output
1
{
2
"value2": false
3
}
Example 3
Input
1
{
2
"my_action": {
3
"value3": []
4
}
5
}
Formula
IS_PRESENT(my_action.value3)
Output
1
{
2
"value3": false
3
}
Example 4
Input
1
{
2
"my_action": {
3
"value4": {}
4
}
5
}
Formula
IS_PRESENT(my_action.value4)
Output
1
{
2
"value4": false
3
}
Example 5
Input
1
{
2
"my_action": {
3
"value5": null
4
}
5
}
Formula
IS_PRESENT(my_action.value5)
Output
1
{
2
"value5": false
3
}
Example 6
Input
1
{
2
"my_action": {
3
"value6": "Hello World"
4
}
5
}
Formula
IS_PRESENT(my_action.value6)
Output
1
{
2
"value6": true
3
}
Example 7
Input
1
{
2
"my_action": {
3
"value7": 1
4
}
5
}
Formula
IS_PRESENT(my_action.value7)
Output
1
{
2
"value7": true
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.