As the title says, something like selectattr(array_of_objects, "property") similar to Jinja's selectattr (IIRC? unless I'm confusing with another engine).
So that you could:
- use statements like
{{ join(selectattr(array_of_objects, "property"), ", ") }}
- simplify multiple loops on a single property
As the title says, something like
selectattr(array_of_objects, "property")similar to Jinja'sselectattr(IIRC? unless I'm confusing with another engine).So that you could:
{{ join(selectattr(array_of_objects, "property"), ", ") }}