Returns a string indicating the type of the operand's value.
{% assign v1 = "string_variable" %}
{% assign v2 = 3 %}
{% json v3 %}
{
"A": "B"
}
{% endjson %}
{% capture msg %}{{v1 | type}}, {{v2| type}}, {{v3 | type}}, {{v4 | type}}{% endcapture %}
{{ msg | log }}
Above snippets logs:
string, number, object, undefined