Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/01_filter_default_default_if_none.html
{# nonexistant does not exist, nullvar is NULL #}

{{ @nonexistant|default:"none" }}    {# => none; silenced, otherwise a warning would be issued #}
{{ nullvar|default_if_none:"none" }} {# => none #}
Return current item: SithTemplate