## Syntax

`IS_YAML(text, [parse_date_or_time: FALSE], [strict: FALSE])`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":"foo:bar"<br>4<br>}<br>5<br>}<br>Copy |
| Formula | `IS_YAML(my_action.message)` |
| Output | true<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":"foo:bar-foo:"<br>4<br>}<br>5<br>}<br>Copy |
| Formula | `IS_YAML(my_action.message)` |
| Output | false<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":"\\nLinkedDate:2007-04-0112:00:00\\n"<br>3<br>}<br>Copy |
| Formula | `IS_YAML(my_action, parse_date_or_time: TRUE)` |
| Output | true<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":"<?xmlversion=\"1.0\"encoding=\"UTF-8\"?>\\n<note>\\n<body>foobar</body>\\n</note>"<br>3<br>}<br>Copy |
| Formula | `IS_YAML(my_action, strict: TRUE)` |
| Output | false<br>Copy |

## Sample Actions

Event Transform

IS_YAML

### Select an action to inspect

You can also click "Copy action" and paste them in your Tines story to see how they work.

Copy Action
