I want to use shorthand ternary operators in volt, is it possible?
In PHP 5.x:
$var = $x ?: $y;
In PHP 7.x:
$var = $x ?? $y;
My usage:
$var = request.getQuery('ids') ? request.getQuery('ids') : [];
Expected but gettting error
$var = request.getQuery('ids') ?: [];