Tests

Jinja2 tests are like function calls, and specifically designed to check a condition and return a boolean.

Built-in tests

In addition to Jinja2’s built-in tests, Betty provides the following: