ifset and if conditions together

materix
Generous Backer | 47
+
0
-
{ifset $cond1}
{if !$cond2}
...
{/if}
{/ifset}

Can these two conditions (ifset and if) be merged into one line?

Pepino
Member | 183
+
0
-

{if isset($cond1) && !$cond2}

Marek Bartoš
Nette Blogger | 827
+
0
-

{ifset} is a bit magic construct. It can be either {if isset($arr['i'])} or {if $this->hasBlock('blockName')}. Drpends whether you want to check variable or Latte block