ifset and if conditions together

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

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

Pepino
Member | 256
+
0
-

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

Marek Bartoš
Nette Blogger | 1261
+
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