I just came across the following syntax in the bolt CMS :
{% for ct in app.config.get('contenttypes') if not ct.viewless|default(false) %}
Now the start of the loop seems familiar PHP syntax but the part where the below comes into the picture:
if not ct.viewless|default(false)
Now That part is a bit harder to understand , what is that part of the code really doing ??
or actually what is that part of the code really saying ??
P.S. The above syntax is Twig syntax which is a php templating language.