The builtin tests of Jinja2, such as x is defined or x is divisibleby 3, with their Python behavior.
The tests are boolean, callable, defined, divisibleby, escaped, even, false, filter, float, in, integer, iterable, lower, mapping, none, number, odd, sameas, sequence, string, test, true, undefined and upper, and the comparisons eq (equalto, ==), ne (!=), lt (lessthan, <), le (<=), gt (greaterthan, >) and ge (>=).
Summary
Functions
Returns true if name is a builtin test.
Applies the builtin test name to value. env gives the custom filters and tests for the filter and test tests.
Functions
Returns true if name is a builtin test.
Applies the builtin test name to value. env gives the custom filters and tests for the filter and test tests.