Can Liquid operators support a more intuitive system like JavaScript?

So it states in the doc that it works pretty much like that:

{% if true and false and false or true %}
  This evaluates to false, since the tags are checked like this:

  true and (false and (false or true))
  true and (false and true)
  true and false
  false
{% endif %}

• Does anyone know why we can’t have a more robust and intuitive system, closer to how javascript works?

• Is it possible to achieve something like that in a single line ?

{% if (aa and cc) or (bb and cc) or (aa and bb) %}
   // do stuff
{% endif %}

I have tried, but I just couldn’t. That might not be possible in a single line. I’d appreciate some insights.

Hi @MaxDesign ,

Yes, Shopify does not support this, if you want detailed support, I recommend you to contact Shopify directly, they will help you answer in the most detail. Refer https://help.shopify.com/en/questions#/contact

Hope it helps!