Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/00_tag_firstof.html
{# assumptions: foo and bar does not exist, baz exists #}
{# foo = "foo", bar = "bar", baz = "baz" #}

{% firstof foo bar baz %}    {# => baz #}
{% firstof foo bar "none" %} {# => none #}
Return current item: SithTemplate