INCLUDES

Returns TRUE if target (which can be text, an object or an array) includes value, otherwise returns FALSE.

Syntax 

INCLUDES(target, value)

Usage examples 

Example 1

Input

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

Formula

INCLUDES(my_action.value, "world")

Output

false

Example 2

Input

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

Formula

INCLUDES(my_action.value, "World")

Output

true

Sample Actions 

Event transform
INCLUDES
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?