IS_IP_ADDRESS
Checks if a text value is a valid IP address. By default this includes CIDR prefixes and zone identifiers. Set strict to TRUE to require a single canonical IPv4 or IPv6 host; it defaults to FALSE.
Categories: IP Addresses
Syntax
IS_IP_ADDRESS(text, [strict: FALSE])
Examples
Example 1
Input
1
{
2
"my_action": {
3
"message": "127.0.0.1"
4
}
5
}
Formula
IS_IP_ADDRESS(my_action.message)
Output
true
Example 2
Input
1
{
2
"my_action": {
3
"message": "hello"
4
}
5
}
Formula
IS_IP_ADDRESS(my_action.message)
Output
false
Example 3
Input
1
{
2
"my_action": {
3
"message": "192.0.2.1/24"
4
}
5
}
Formula
IS_IP_ADDRESS(my_action.message)
Output
true
Example 4
Input
1
{
2
"my_action": {
3
"message": "192.0.2.1/24"
4
}
5
}
Formula
IS_IP_ADDRESS(my_action.message, strict: TRUE)
Output
false
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.