inja icon indicating copy to clipboard operation
inja copied to clipboard

Does inja support Jinja style tests?

Open awni opened this issue 1 year ago • 1 comments

As in the tests functionality?

For example the following does not compile:

{% if custom_tools is defined %}xx{% endif %}

I'm wondering if there is a syntax for it or if support is planned for the future?

awni avatar Dec 26 '24 15:12 awni

Here instead, exists() is used for that purpose.

Spixmaster avatar Apr 26 '25 08:04 Spixmaster